View Single Post
10/28/20, 01:23 PM   #3
nightdreaming
Join Date: Feb 2018
Posts: 8
Thanks Baertram, I reduced my code to make it more readable, I am registering events and filters using a counter on the namespace as you suggest, that all works fine.

I am trying to unregister and then re-use the unregistered namespace, but that gives the behaviour above. If I unregister the old namespace and then using a different namespace for the new event, I do get the new events, but I also continue to get the old events I don't want any more. As a developer, it offends me to leave things hanging around that are no longer being used :-) Hence my preference to unregisters events+filters I don't use any more.

It probably isn't unregistering the filters in the C code. Oh well...
  Reply With Quote