mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
[404082][dstore] race condition on finish, removing senders
This commit is contained in:
parent
e8100d2429
commit
251a5a5a44
1 changed files with 11 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2002, 2012 IBM Corporation and others.
|
||||
* Copyright (c) 2002, 2013 IBM Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -17,6 +17,7 @@
|
|||
* David McKnight (IBM) [246826][dstore] KeepAlive does not work correctly
|
||||
* David McKnight (IBM) - [358301] [DSTORE] Hang during debug source look up
|
||||
* David McKnight (IBM) [388873][dstore] ServerUpdateHandler _senders list should be synchronized
|
||||
* David McKnight (IBM) [404082][dstore] race condition on finish, removing senders
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.dstore.internal.core.server;
|
||||
|
@ -352,7 +353,6 @@ public class ServerUpdateHandler extends UpdateHandler
|
|||
*/
|
||||
public void removeSenderWith(Socket socket)
|
||||
{
|
||||
synchronized (_senders){
|
||||
for (int i = 0; i < _senders.size(); i++)
|
||||
{
|
||||
Sender sender = (Sender) _senders.get(i);
|
||||
|
@ -365,7 +365,6 @@ public class ServerUpdateHandler extends UpdateHandler
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implemented to provide the means by which classes are sent
|
||||
|
|
Loading…
Add table
Reference in a new issue