mirror of https://github.com/quasar/Quasar.git
Merge pull request #142 from ShittyAdvice/patch-1
Fixed null reference crash
This commit is contained in:
commit
b6465e2c1b
|
@ -103,7 +103,8 @@ private string GetSizeStr(long size)
|
|||
|
||||
private void btnStop_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshTimer.Stop();
|
||||
if (RefreshTimer != null)
|
||||
RefreshTimer.Stop();
|
||||
btnStart.Enabled = true;
|
||||
btnStop.Enabled = false;
|
||||
if (SocksServer != null)
|
||||
|
@ -181,4 +182,4 @@ private void killConnectionToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue