Code cleanup.
This commit is contained in:
@@ -24,6 +24,10 @@ namespace Cryville.Crtr {
|
||||
SetIdle();
|
||||
}
|
||||
catch (ResultException) {
|
||||
if (dc != null) {
|
||||
dc.Dispose();
|
||||
dc = null;
|
||||
}
|
||||
Logger.Log("main", 3, "Discord", "Cannot connect to Discord");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user