concierge
concierge copied to clipboard
Framework.waitForStop() notifies only a single thread
When multiple threads invoke Framework.waitForStop()
, only one of them gets unblocked. I suppose that Concierge.stop0(boolean)
should call notifyAll()
instead of just notify()
and it would be better to invoke it in finally
to make sure that it would be executed always.