mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-12 06:48:50 +02: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