Task #12405 (new)
Opened 5 years ago
Bug: quick kill of scripts in succession
|Reported by:||jamoore||Owned by:|
However, when cancelling the process from OMERO.insight (in the activities window) it seems like the kill command is send twice.
You can see the os.kill(TERM) log twice, in short succession (6 ms). And indeed, sometimes this is long enough to clean up all jobs. But most of the time it is not. In those cases I can see from the traceback that the second kill comes in the middle of the job cleaning procedure.