Commit 74237981 authored by Mike Wey's avatar Mike Wey

remove the range with removeRange, accidentally used removeRoot.

parent 4b8b87d0
......@@ -98,7 +98,7 @@ class DClosure : Closure
~this()
{
GC.removeRoot(gClosure);
GC.removeRange(gClosure);
}
extern(C) static void d_closure_marshal(T)(GClosure* closure, GValue* return_value, uint n_param_values, /*const*/ GValue* param_values, void* invocation_hint, void* marshal_data)
......
......@@ -199,7 +199,7 @@ code: start
~this()
{
GC.removeRoot(gClosure);
GC.removeRange(gClosure);
}
extern(C) static void d_closure_marshal(T)(GClosure* closure, GValue* return_value, uint n_param_values, /*const*/ GValue* param_values, void* invocation_hint, void* marshal_data)
......
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