summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono/FunctionPointers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/efl_mono/FunctionPointers.cs')
-rw-r--r--src/tests/efl_mono/FunctionPointers.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/efl_mono/FunctionPointers.cs b/src/tests/efl_mono/FunctionPointers.cs
index 4536704389..911e20ea38 100644
--- a/src/tests/efl_mono/FunctionPointers.cs
+++ b/src/tests/efl_mono/FunctionPointers.cs
@@ -171,9 +171,7 @@ class TestFunctionPointers
171 // Should release the handle to the wrapper allocated when calling set_callback from C. 171 // Should release the handle to the wrapper allocated when calling set_callback from C.
172 obj.SetCallback(twice); 172 obj.SetCallback(twice);
173 173
174 GC.Collect(); 174 Test.CollectAndIterate(300, 10);
175 GC.WaitForPendingFinalizers();
176 Efl.App.AppMain.Iterate();
177 175
178 Test.Assert(obj.set_called, "set_callback override must have been called"); 176 Test.Assert(obj.set_called, "set_callback override must have been called");
179 Test.Assert(!obj.invoke_called, "invoke_callback must not have been called"); 177 Test.Assert(!obj.invoke_called, "invoke_callback must not have been called");