fix: [delete retro hunt] force pause state before delete

This commit is contained in:
terrtia 2025-01-17 10:42:10 +01:00
parent 9432961465
commit dc9a8dfc25
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -1729,6 +1729,7 @@ class RetroHunt:
def delete(self): def delete(self):
if self.is_running() and self.get_state() not in ['completed', 'paused']: if self.is_running() and self.get_state() not in ['completed', 'paused']:
self.pause()
return None return None
self.delete_objs() self.delete_objs()