13
0
geforkt von Mirrors/Paper
Commit graph

3 Commits

Autor SHA1 Nachricht Datum
Zach Brown
9ff95e76f7 Update branch name for GitHub version checking 2018-09-13 12:17:01 -04:00
Aikar
e0c865681c Remove no longer needed tests due to last change 2018-09-09 01:14:18 -04:00
Aikar
68b25624d8 Remove deadlock risk in firing async events
The PluginManager incorrectly used synchronization on firing any event
that was marked as synchronous.

This synchronized did not even protect any concurrency risk as
handlers were already thread safe in terms of mutations during event
dispatch.

The way it was used, has commonly led to deadlocks on the server,
which results in a hard crash.

This change removes the synchronize and adds some protection around enable/disable
2018-09-09 01:04:29 -04:00