mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-19 09:49:26 +01:00
Pause interp at low disk space, only cancel if very low
This commit is contained in:
@@ -26,6 +26,18 @@ namespace Flowframes.OS
|
||||
Program.mainForm.GetPauseBtn().Visible = running;
|
||||
}
|
||||
|
||||
public static void SuspendIfRunning ()
|
||||
{
|
||||
if(!aiProcFrozen)
|
||||
SuspendResumeAi(true);
|
||||
}
|
||||
|
||||
public static void ResumeIfPaused()
|
||||
{
|
||||
if (aiProcFrozen)
|
||||
SuspendResumeAi(false);
|
||||
}
|
||||
|
||||
public static void SuspendResumeAi(bool freeze, bool excludeCmd = true)
|
||||
{
|
||||
if (AiProcess.lastAiProcess == null || AiProcess.lastAiProcess.HasExited)
|
||||
|
||||
Reference in New Issue
Block a user