mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
Fix thread tracking
This commit is contained in:
@@ -113,6 +113,7 @@ private void openARC(string path, bool recursing = false)
|
||||
{
|
||||
threads++;
|
||||
bool r = CTR.GARC.garcUnpack(path, folderPath + "_g", SkipDecompression, pBar1);
|
||||
threads--;
|
||||
if (r)
|
||||
batchRenameExtension(newFolder);
|
||||
else
|
||||
@@ -144,6 +145,7 @@ private void openARC(string path, bool recursing = false)
|
||||
{
|
||||
if (!recursing)
|
||||
Util.Error("File error:" + Environment.NewLine + path, e.ToString());
|
||||
threads = 0;
|
||||
}
|
||||
System.Media.SystemSounds.Asterisk.Play();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user