Only call interrupt handler if still running

This commit is contained in:
gdkchan 2020-12-10 13:02:55 -03:00 committed by gdk
parent 8214eac625
commit c0f9e6bdac

View file

@ -115,8 +115,12 @@ namespace ARMeilleure.State
internal void CheckInterrupt()
{
_nativeContext.SetInterruptState(0);
if (Running)
{
_interruptCallback?.Invoke(this);
}
}
public void RequestInterrupt()
{