Multiple tasks with single UUID cannot be aborted
Issue #1009
new
Segii has raised an issue in the Google Group (https://groups.google.com/g/openrem/c/F9zaAjw9st0/m/3RquuhZwBAAJ) where task_abort
is returning more than one object and causing an error. This also means the task cannot be aborted (and is no longer running so will never finish).
Solution will be to add an
except BackgroundTask.MultipleObjectsReturned:
# handle - either by looping through the next bit of code or just deleting them all