/// <summary>
        /// Release current video player
        /// </summary>
        public void Release()
        {
            if (_playerObj != IntPtr.Zero)
            {
                Stop();
            }

            if (_eventManager != null)
            {
                _eventManager.RemoveAllEvents();
                _eventManager = null;

                if (_eventHandlerPtr != IntPtr.Zero)
                {
                    EventsDettach(_eventManagerPtr, _eventHandlerPtr);
                }
            }

            if (_logManager != null)
            {
                _logManager.RemoveAllEvents();

                if (_logDetail != LogLevels.Disable && _vlcObj != IntPtr.Zero)
                {
                    _wrapper.ExpandedLogUnset(_vlcObj);
                }
            }

            if (_audioManager != null)
            {
                _audioManager.RemoveAllListeners();
            }

            if (_playerObj != IntPtr.Zero)
            {
                _wrapper.PlayerRelease(_playerObj);
            }
            _playerObj = IntPtr.Zero;

            if (_vlcObj != IntPtr.Zero)
            {
                _wrapper.ExpandedLibVLCRelease(_vlcObj);
            }
            _vlcObj = IntPtr.Zero;
        }