Commit 4800dd00 authored by Marc Gravell's avatar Marc Gravell

deny exec-sync: explicitly null the delegates if it throws

parent ad9ffa46
...@@ -71,6 +71,8 @@ static TaskSource() ...@@ -71,6 +71,8 @@ static TaskSource()
{ {
Debug.WriteLine(ex.Message); Debug.WriteLine(ex.Message);
Trace.WriteLine(ex.Message); Trace.WriteLine(ex.Message);
denyExecSync = null;
IsSyncSafe = null;
} }
if(denyExecSync == null) if(denyExecSync == null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment