mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
Fix for exiting while aborting write-backs.
The text update can hang on exit thus not reducing the amount of 'threads'; by removing the thread tracking before updating text we can close.
This commit is contained in:
@@ -524,7 +524,7 @@ public bool getGARC(string infile, string outfolder, bool PB, bool bypassExt = f
|
||||
public bool setGARC(string outfile, string infolder, bool PB)
|
||||
{
|
||||
if (ModifierKeys == Keys.Control && Util.Prompt(MessageBoxButtons.YesNo, "Cancel writing data back to GARC?") == DialogResult.Yes)
|
||||
{ updateStatus(String.Format("Aborted!"), false); threads--; return false; }
|
||||
{ threads--; updateStatus(String.Format("Aborted!"), false); return false; }
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user