private void Resume() { if (_tvServerNeedsRestart && _restartTvServerOnResume) { TvServerPlugin.TvController_Restart(); } _tvServerNeedsRestart = false; }