|
|
|
@ -23,18 +23,19 @@ namespace CppSharp.Passes |
|
|
|
get { return wait; } |
|
|
|
get { return wait; } |
|
|
|
set |
|
|
|
set |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (wait != value) |
|
|
|
if (wait == value) |
|
|
|
{ |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
wait = value; |
|
|
|
wait = value; |
|
|
|
if (!wait && manualResetEvent != null) |
|
|
|
|
|
|
|
{ |
|
|
|
if (wait || manualResetEvent == null) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
manualResetEvent.Set(); |
|
|
|
manualResetEvent.Set(); |
|
|
|
manualResetEvent.Dispose(); |
|
|
|
manualResetEvent.Dispose(); |
|
|
|
manualResetEvent = null; |
|
|
|
manualResetEvent = null; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public override bool VisitASTContext(ASTContext context) |
|
|
|
public override bool VisitASTContext(ASTContext context) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|