Skip to content

Commit 88cfa05

Browse files
XmlRpcDispatch: disposal can lead to the begining of a stack overflow that throws an exception the first time dispose calls shutdown (which would get a true return from another shutdown overload, and eventually would call dispose again)
1 parent fb88464 commit 88cfa05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XmlRpc_Wrapper/XmlRpcDispatch.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public IntPtr instance
193193

194194
public void Shutdown()
195195
{
196-
if (Shutdown(__instance)) Dispose();
196+
Shutdown(__instance);
197197
}
198198

199199
public static bool Shutdown(IntPtr ptr)

0 commit comments

Comments
 (0)