Fix serialization problem when calling exit()
This commit is contained in:
parent
75752f7388
commit
43085bc808
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.Remoting;
|
using System.Runtime.Remoting;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using AssemblyData;
|
using AssemblyData;
|
||||||
|
|
||||||
|
@ -81,6 +82,9 @@ namespace de4dot.AssemblyClient {
|
||||||
catch (RemotingException) {
|
catch (RemotingException) {
|
||||||
// Couldn't connect
|
// Couldn't connect
|
||||||
}
|
}
|
||||||
|
catch (SerializationException) {
|
||||||
|
// For this: "End of Stream encountered before parsing was completed."
|
||||||
|
}
|
||||||
service = null;
|
service = null;
|
||||||
}
|
}
|
||||||
if (loader != null) {
|
if (loader != null) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user