public void Dispose() { if (_vxEventHandler != null) { _vxEventHandler.Dispose(); _vxEventHandler = null; } }
/// <summary> /// Init the VxEventServerManager /// </summary> public VxEventServerManager Init() { if (this.Initialized) { return(this); } Reload(); _vxEventHandler = new VxEventHandler(_VxSettings, _AxSettings, _acServerSettings, _customSituations, _eventConfiguration, _cameraAssociations, _scripts); this.Initialized = true; return(this); }