Page MenuHomePhabricator

csharp: Cannot unregister event handlers
Closed, ResolvedPublic

Description

As shown in the Events tutorial (still in a branch):
https://git.enlightenment.org/tools/examples.git/tree/reference/csharp/core/src/core_event.cs?h=devs/xartigas/csharp-tutorials

I can easily connect an Event handler with: mainloop.PollHighEvt += PollCb;
But when I try to disconnect it: mainloop.PollHighEvt -= PollCb;
I get an error:

ERR<24088>:mono efl_loop.eo.cs:186 remove_cpp_event_handler() Failed to remove event proxy for event _EFL_LOOP_EVENT_POLL_HIGH

Is this not the correct way to disconnect event handlers?

segfaultxavi triaged this task as TODO priority.
lauromoura closed this task as Resolved.Sep 5 2018, 1:59 PM

Marked as resolved. Somehow phab didn't close it after pushing.

bu5hm4n moved this task from Backlog to Done on the efl: language bindings board.Dec 18 2018, 4:30 AM
bu5hm4n raised the priority of this task from TODO to Normal.