mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-01-18 16:36:13 +00:00
fix: [delete retro hunt] force pause state before delete
This commit is contained in:
parent
9432961465
commit
dc9a8dfc25
1 changed files with 1 additions and 0 deletions
|
@ -1729,6 +1729,7 @@ class RetroHunt:
|
|||
|
||||
def delete(self):
|
||||
if self.is_running() and self.get_state() not in ['completed', 'paused']:
|
||||
self.pause()
|
||||
return None
|
||||
|
||||
self.delete_objs()
|
||||
|
|
Loading…
Add table
Reference in a new issue