1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| Quintiq file version 2.0
| #parent: #root
| Method AbortUnalignedControllerRuns
| {
| Description:
| [*
| Unaligned controller runs should be marked as aborted so that the run controller stops reserving threads for these runs.
| A `LibOpt_ControllerRun` can become unaligned with its corresponding `LibOpt_Run`, when the dataset of the `LibOpt_Run` gets unloaded during a run.L
| *]
| TextBody:
| [*
| // evr3 Apr-29-2022 (created)
| objectinfos := MDSEditor::Editor().LoadedObjectInfos();
|
| traverse( this,
| ControllerRun,
| run,
| not exists( objectinfos, Elements, oi, oi.MDSID().MDSKey() = run.DatasetKey() ) )
| {
| run.Abort();
| }
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|