public void ShutdownHandler() { if (Playlist != null) { Playlist.ShutdownHandler(); Playlist = null; } if (_chat != null) { _chat.ShutdownHandler(); _chat = null; } }