Skip to content

Commit 0a5a7a4

Browse files
arthurkehrwaldfreezy
authored andcommitted
Fix AssumeRunning option
1 parent 2d0e6f5 commit 0a5a7a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Runtime/MpfWrangler.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,12 @@ public async Task StartMpf(MachineState initialState, CancellationToken ct)
215215
try
216216
{
217217
MpfState = MpfState.Starting;
218-
KillAllMpfProcesses();
219218

220219
if (_executableSource != MpfExecutableSource.AssumeRunning)
220+
{
221+
KillAllMpfProcesses();
221222
_mpfProcess = StartMpfProcess();
223+
}
222224

223225
await ConnectToMpf(initialState, ct);
224226
}

0 commit comments

Comments
 (0)