Browse Source

Fixed a crash when blocking the pass for finding symbols from outside.

pull/742/head
Dimitar Dobrev 9 years ago
parent
commit
99bb582e57
  1. 2
      src/Generator/Passes/FindSymbolsPass.cs

2
src/Generator/Passes/FindSymbolsPass.cs

@ -25,7 +25,7 @@ namespace CppSharp.Passes
if (wait != value) if (wait != value)
{ {
wait = value; wait = value;
if (!wait) if (!wait && manualResetEvent != null)
{ {
manualResetEvent.Set(); manualResetEvent.Set();
manualResetEvent.Dispose(); manualResetEvent.Dispose();

Loading…
Cancel
Save