Skip to content

Commit b54db20

Browse files
committed
evaluator: Allow sub-runtimes to be aborted when main runtime aborts
1 parent 6e3624d commit b54db20

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/include/pl/core/evaluator.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@ namespace pl::core {
313313

314314
void abort() {
315315
this->m_aborted = true;
316+
for (auto &subRuntime : m_subRuntimes) {
317+
subRuntime.abort();
318+
}
316319
}
317320

318321
void handleAbort() const {

0 commit comments

Comments
 (0)