use of com.vaadin.flow.server.SessionDestroyEvent in project flow by vaadin.
the class SpringVaadinSession method fireSessionDestroy.
/**
* Handles destruction of the session.
*/
public void fireSessionDestroy() {
SessionDestroyEvent event = new SessionDestroyEvent(getService(), this);
destroyListeners.stream().forEach(listener -> listener.sessionDestroy(event));
destroyListeners.clear();
}
Aggregations