Fix serialization problem when calling exit()

This commit is contained in:
de4dot 2011-10-03 10:04:33 +02:00
parent 75752f7388
commit 43085bc808

View File

@ -19,6 +19,7 @@
using System;
using System.Runtime.Remoting;
using System.Runtime.Serialization;
using System.Threading;
using AssemblyData;
@ -81,6 +82,9 @@ namespace de4dot.AssemblyClient {
catch (RemotingException) {
// Couldn't connect
}
catch (SerializationException) {
// For this: "End of Stream encountered before parsing was completed."
}
service = null;
}
if (loader != null) {