Commit 7e25bd8
committed
fix: use StopMCRun instead of StopRun in GeneratePrimaries
StopRun() calls exit(0) which bypasses destructors and prevents
proper file closure. StopMCRun() signals the MC engine to stop
gracefully after the current event.1 parent 078d8f1 commit 7e25bd8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
980 | | - | |
| 980 | + | |
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
| |||
0 commit comments