1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-20 06:35:50 +02:00

[371401] [dstore][multithread] avoid use of static variables - causes memory leak after disconnect

This commit is contained in:
David McKnight 2012-02-13 18:57:13 +00:00
parent 8d2684b786
commit dac3482504

View file

@ -206,7 +206,7 @@ public class ServerCommandHandler extends CommandHandler
_serverIdleThread._serverTimedOut=true; // ensures that the wait loop won't continue after the interrupt _serverIdleThread._serverTimedOut=true; // ensures that the wait loop won't continue after the interrupt
_serverIdleThread.interrupt(); _serverIdleThread.interrupt();
} }
_serverIdleThread = null;
if (_minerLoader != null) if (_minerLoader != null)
_minerLoader.finishMiners(); _minerLoader.finishMiners();
super.finish(); super.finish();