diff --git a/src/java/pt/lsts/neptus/events/NeptusEvents.java b/src/java/pt/lsts/neptus/events/NeptusEvents.java index c93a6bd03b..919084a2c6 100644 --- a/src/java/pt/lsts/neptus/events/NeptusEvents.java +++ b/src/java/pt/lsts/neptus/events/NeptusEvents.java @@ -161,6 +161,15 @@ public static void register(Object object, ConsoleLayout console) { } } + /** + * Unregister for the GLOBAL synchronous event bus + * + * @param object + */ + public static void unregister(Object object) { + INSTANCE.eventBus.unregister(object); + } + /** * Unregister for the given console asynchronous event bus *