Close issue #437
This commit is contained in:
parent
cbec4e836a
commit
184154a8b3
@ -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 );
|
Preconditions.checkState( intents.contains( plugin ), "Plugin %s has not registered intent for event %s", plugin, this );
|
||||||
intents.remove( plugin );
|
intents.remove( plugin );
|
||||||
if ( latch.decrementAndGet() == 0 )
|
if ( fired.get() && latch.decrementAndGet() == 0 )
|
||||||
{
|
{
|
||||||
done.done( (T) this, null );
|
done.done( (T) this, null );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user