mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
recreate the EventBus on restart to avoid classloader leaks
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package sonia.scm.event;
|
||||
|
||||
/**
|
||||
* This event forces the {@link ScmEventBus} to recreate the underlying implementation and to clear all its caches.
|
||||
* Note: After this event is fired, every subscription is removed from the event bus.
|
||||
*/
|
||||
public final class RecreateEventBusEvent {}
|
||||
Reference in New Issue
Block a user