mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 20:45:22 +02:00
[227905] prevent double invocations of finished in ConncetionEstablisher
This commit is contained in:
parent
04570d74c6
commit
f5fbe5ec96
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David McKnight (IBM) - [225507][api][breaking] RSE dstore API leaks non-API types
|
* David McKnight (IBM) - [225507][api][breaking] RSE dstore API leaks non-API types
|
||||||
|
* Noriaki Takatsu (IBM) - [227905] prevent double invocations of finished in ConncetionEstablisher
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.dstore.core.server;
|
package org.eclipse.dstore.core.server;
|
||||||
|
@ -74,6 +75,7 @@ public class ServerReceiver extends Receiver
|
||||||
|
|
||||||
public void finish()
|
public void finish()
|
||||||
{
|
{
|
||||||
|
_dataStore.setConnected(false);
|
||||||
super.finish();
|
super.finish();
|
||||||
_connection.finished(this);
|
_connection.finished(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue