eclipse-archived / concierge

Eclipse Concierge™ project
https://www.eclipse.org/concierge/
Eclipse Public License 1.0
33 stars 22 forks source link

Framework.waitForStop() notifies only a single thread #84

Open pdolezal opened 4 years ago

pdolezal commented 4 years ago

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.