Code example for EventBus

Methods: unregister

0
        eventBus.register(this);
    } 
 
    @After 
    public void releaseConnections() { 
        eventBus.unregister(this);
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java