Remove unneeded unregisters

This commit is contained in:
Owain van Brakel
2019-07-14 22:34:40 +02:00
parent cd2b0775c3
commit 77851542d0
2 changed files with 0 additions and 3 deletions

View File

@@ -389,7 +389,6 @@ public class PluginManager
try try
{ {
unschedule(plugin); unschedule(plugin);
eventBus.unregister(plugin);
// plugins always stop in the event thread // plugins always stop in the event thread
SwingUtilities.invokeAndWait(() -> SwingUtilities.invokeAndWait(() ->

View File

@@ -191,8 +191,6 @@ public class GameEventManager
} }
}); });
}); });
eventBus.unregister(subscriber);
}); });
} }
} }