diff --git a/openpype/tools/new_publisher/control.py b/openpype/tools/new_publisher/control.py index 618cfe98ce..7e53f693ca 100644 --- a/openpype/tools/new_publisher/control.py +++ b/openpype/tools/new_publisher/control.py @@ -134,6 +134,8 @@ class PublisherController: self._publish_validation_errors = [] # Any other exception that happened during publishing self._publish_error = None + # Publishing is in progress + self._publish_is_running = False # Publishing is over validation order self._publish_validated = False # Publishing should stop at validation stage @@ -273,6 +275,7 @@ class PublisherController: callbacks.remove(ref) def reset(self): + self.stop_publish() self._reset_plugins() # Publish part must be resetted after plugins self._reset_publish() @@ -455,10 +458,6 @@ class PublisherController: if self._publish_is_running: self._stop_publish() - def reset_publish(self): - self.stop_publish() - self._reset_publish() - def _publish_next_process(self): # Validations of progress before using iterator # - same conditions may be inside iterator but they may be used