c443fc3da6
A special-case occurs when a plugin sends a packet to a client with filters set to FALSE (that is, bypassing most packet listeners) - a new packet event is constructed solely for all MONITOR listeners, as they are informed regardless of the value of FILTER. Unfortunately, the sending method may be invoked on a thread other than the main thread, which will invoke onPacketSending() asynchronously. This violate the assumed thread affinity of onPacketSending(), so we will now schedule the packet sending on the main thread to correct this - but only if there are monitor listeners, and they have not specified ListenerOptions.ASYNC (which means onPacketSending() is thread safe). |
||
---|---|---|
.. | ||
.settings | ||
src | ||
.classpath | ||
.gitignore | ||
.project | ||
pom.xml |