Skip to content
Browse files

Add missing synchronization to notify.

  • Loading branch information...
1 parent 5df81aa commit 784ea2eba65d3c49c370e2fadf5af697597779b7 @lsolova lsolova committed May 25, 2012
View
4 src/main/java/org/masukomi/aspirin/core/delivery/DeliveryMaintenanceThread.java
@@ -55,7 +55,9 @@ public void run() {
public void shutdown() {
running = false;
- notify();
+ synchronized (this) {
+ notify();
+ }
}
}

0 comments on commit 784ea2e

Please sign in to comment.
Something went wrong with that request. Please try again.