mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
minor tweaks to gomory and reset n3 within loop (but the entire function is dead code).
This commit is contained in:
parent
924c296704
commit
35bc522dae
3 changed files with 12 additions and 4 deletions
|
@ -91,7 +91,13 @@ namespace Microsoft.Z3
|
|||
/// </summary>
|
||||
~Constructor()
|
||||
{
|
||||
Native.Z3_del_constructor(Context.nCtx, NativeObject);
|
||||
if (Context.nCtx != IntPtr.Zero) {
|
||||
lock (Context)
|
||||
{
|
||||
if (Context.nCtx != IntPtr.Zero)
|
||||
Native.Z3_del_constructor(Context.nCtx, NativeObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#region Internal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue