def disable(self): """actions to take when the plugin is disabled""" was_recording_all_players = self._recording_all_players self.stop_recording_all_players() if was_recording_all_players: self._recording_all_players = True # persist the value so demo can restart when plugin is re-enabled Plugin.disable(self)
def disable(self): self.cancel_current_vote_session() self._cancel_nextmap_display_timer() Plugin.disable(self)