mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-07 17:28:03 +08:00
Fixed CriticalRunnable being run twice (#557)
This commit is contained in:
parent
3ff39d43cf
commit
5cce54dde6
@ -27,6 +27,7 @@ public class Processing implements SubSystem {
|
||||
public static void submit(Runnable runnable) {
|
||||
if (runnable instanceof CriticalRunnable) {
|
||||
submitCritical(runnable);
|
||||
return;
|
||||
}
|
||||
submitNonCritical(runnable);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user