mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-24 04:09:29 +01:00
Disk space check: Check if already cancelled
This commit is contained in:
@@ -51,10 +51,8 @@ namespace Flowframes
|
||||
|
||||
Logger.Log($"Disk space check for '{drivePath}/': {(mb / 1024f).ToString("0.0")} GB free.", true);
|
||||
|
||||
if (mb < (Config.GetInt("minDiskSpaceGb", 6) * 1024))
|
||||
{
|
||||
if (!Interpolate.canceled && mb < (Config.GetInt("minDiskSpaceGb", 6) * 1024))
|
||||
Interpolate.Cancel("Running out of disk space!");
|
||||
}
|
||||
}
|
||||
|
||||
await Task.Delay(15000);
|
||||
|
||||
Reference in New Issue
Block a user