Steve, Thanks for your reply, although I have to admit I find it troubling. Yes, I am deregistering in the event handler. It did not occur to me that I should limit what I do in the event handlers.
Were you able to build a reliable application using an asynch approach? Are you programming in C, Python, or some other language? -Sam -----Original Message----- From: Steve Lee [mailto:[email protected]] Sent: Friday, December 12, 2008 10:48 AM To: Quiring, Sam Cc: [email protected] Subject: Re: [g-a-devel] registering/deregistering event listeners 2008/12/12 Quiring, Sam <[email protected]>: > 1. register the event handlers > 2. wait for the user to do his thing > 3. deregister the event handlers > > After a few executions of this function (3..6), it dies during step 1: > registering the event handlers. In fact the entire GNOME desktop > locks up and I'm forced to power cycle the machine to get control > back. (Is there an easier/cleaner way to restart GNOME?). Are you deregistering in the event handler? I found that it best to do absolute minimum in the handers and call very few functions. In the end I just put events in my own queue and dequeue in idle processing - in other words make processing asynch. I don't know what the official position is. Steve Lee _______________________________________________ Gnome-accessibility-devel mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
