Re: [Fresco-devel] some fixes for client-exit-problems
Nick Lewycky <[email protected]> Sun, 19 Oct 2003 08:51:57 -0400
| Newsgroups | gmane.comp.video.fresco.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > problem: > if you interact with clients while this clients exit the server tends to crash. for example click > at [X] and try to move the window as fast as you can... as far as i see the problem is if > the EventManager wants to damage a always dead graphic... i simply fix this by inserting the > (*i)->damage(r); call in a try {} catch (const CORBA::OBJECT_NOT_EXIST &) {} block. is this the > right place to catch this exception? i don't know... Wait, I'm confused. That code in EventManager::damage isn't calling into a Graphic, it's calling into PositionalFocus or NonPositionalFocus. Neither PositionalFocus nor NonPositionalFocus ::damage deal with Graphics themselves. Where's the exception being thrown from? If you turn on trace, does it show PositionalFocus::damage being entered? (I'll try to reproduce it myself if I can, but it sounds like a tricky sort of timing issue is necessary to do so.) Nick Lewycky