Skip to content

Commit

Permalink
pinned semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Jun 28, 2022
1 parent 9836d5e commit 820c782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/dotnet/UserPropagator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static void _decide(voidp ctx, Z3_solver_callback cb, ref Z3_ast a, ref uint idx
/// </summary>
public UserPropagator(Solver s)
{
gch = GCHandle.Alloc(this);
gch = GCHandle.Alloc(this, GCHandleType.Pinned);
solver = s;
ctx = solver.Context;
var cb = GCHandle.ToIntPtr(gch);
Expand Down

0 comments on commit 820c782

Please sign in to comment.