Close issue #437

This commit is contained in:
md_5 2013-06-16 07:26:29 +10:00
parent cbec4e836a
commit 184154a8b3

View File

@ -67,7 +67,7 @@ public class AsyncEvent<T> extends Event
{
Preconditions.checkState( intents.contains( plugin ), "Plugin %s has not registered intent for event %s", plugin, this );
intents.remove( plugin );
if ( latch.decrementAndGet() == 0 )
if ( fired.get() && latch.decrementAndGet() == 0 )
{
done.done( (T) this, null );
}