// This method is called when the plugin should shutdown. @Override public void stop() { Log.getInstance().write(Log.LOGLEVEL_TRACE, "stop: Stop received from Plugin Manager."); if (Global.IsClient()) { Log.getInstance().write(Log.LOGLEVEL_WARN, "stop: Running in Client mode."); return; } // registry.eventUnsubscribe(listener, "RecordingCompleted"); registry.eventUnsubscribe(listener, "RecordingStopped"); showInFocus = null; }