Re: signals (and disconnecting them)



stian nixia no wrote:

I'm not an expert but:

Events that are queue'd are not scheduled until glib iterates again, so
they will be "lost" yes. Even signals you emit by hand will be "lost"
after the handler is unhooked. Atleast logic should be like that.
I may be a bit crazy but it can make sense to let all the events queued for that handler to be processed before disconnecting it. I know I could just force all the queued events to be processed before disconnecting the handler, but it's not the right thing to do.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]