Added delete button

This commit is contained in:
Brett Williams
2023-05-31 23:29:04 -05:00
parent 998be45f3f
commit c5c9165733
2 changed files with 16 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ class BaseRenderWorker(Base):
self.stop(is_error=True)
def stop(self, is_error=False):
if self.__process:
if hasattr(self, '__process'):
try:
if self.status in [RenderStatus.RUNNING, RenderStatus.NOT_STARTED, RenderStatus.SCHEDULED]:
if is_error: