1
0
Fork 0

Fixing Trigger Priority Issue

master
Vel 2023-02-09 00:04:32 +11:00
parent 30c1b698cd
commit 1a2db1cf04
1 changed files with 3 additions and 3 deletions

View File

@ -353,6 +353,9 @@ namespace FFXIV_Vibe_Plugin.Device {
forceStop = true;
this.SendCommand(command, device, 0, motorId);
this.Logger.Debug($"Force stopping {deviceAndMotorId} because of StopAfter={StopAfter}");
// Make sure we clean the current playing trigger whgenever we're force stopping a trigger
this.CurrentPlayingTrigger = null;
}
});
tStopAfter.Start();
@ -394,9 +397,6 @@ namespace FFXIV_Vibe_Plugin.Device {
Thread.Sleep(duration);
}
// Make sure we clean the current playing trigger.
this.CurrentPlayingTrigger = null;
});
t.Start();
}