This is fixed and will be released in v2026a_8. I verified that calling "started" multiple times on a monitor is safe, and getSubtaskMonitor will call started if the parent is not yet started.
Last edit: Jeremy Faden 1 day ago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
finished() can be called multiple times, but it prints a stack trace to stderr warning of the error. Repeat calls to started seem more harmless, but started should probably print a warning message too. (I can imagine a multi-threaded application triggering this.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is fixed and will be released in v2026a_8. I verified that calling "started" multiple times on a monitor is safe, and getSubtaskMonitor will call started if the parent is not yet started.
Last edit: Jeremy Faden 1 day ago
finished() can be called multiple times, but it prints a stack trace to stderr warning of the error. Repeat calls to started seem more harmless, but started should probably print a warning message too. (I can imagine a multi-threaded application triggering this.)
See https://github.com/autoplot/dev/blob/master/bugs/sf/2883/stressMonitor.jy.