[haiku-development] Re: BLooper::IsLocked()
- From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 03 Oct 2007 21:58:01 +0200
On 2007-10-03 at 19:05:02 [+0200], Stephan Assmus <superstippi@xxxxxx> wrote:
> Axel Dörfler wrote (2007-10-03, 18:50:40 [+0200]):
> > Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> > > On 2007-09-30 at 18:42:06 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
> > > > wrote:
> > > > Stephan Assmus <superstippi@xxxxxx> wrote:
> > > > > Are non-running loopers added to the global looper list?
> > > > Yes, they are added on construction, and removed on destruction - any
> > > > offscreen window should be part of that list, too, running or not.
> > > Wouldn't it therefore be Quit() (and thus deleted) by
> > > BApplication::QuitRequested()? Hence, if the bitmap is deleted later,
> > > its
> > > offscreen window would be deleted a second time.
> >
> > That doesn't sound unlikely - any news on that subject, Stippi? :-)
>
> I haven't followed up on that at all. Is this a strong hint that offscreen
> windows should not end up in the global looper list at all?
Nope, it means that either the BApplication window quit loop should skip
those windows (probably even all not running windows) or BBitmap should
check, if it actually got the window's lock and only then try to delete it.
CU, Ingo
- References:
- [haiku-development] Re: BLooper::IsLocked()
- From: Axel Dörfler
- [haiku-development] Re: BLooper::IsLocked()
- From: Stephan Assmus
Other related posts:
- » [haiku-development] BLooper::IsLocked()
- » [haiku-development] Re: BLooper::IsLocked()
- » [haiku-development] Re: BLooper::IsLocked()
- » [haiku-development] Re: BLooper::IsLocked()
- » [haiku-development] Re: BLooper::IsLocked()
- » [haiku-development] Re: BLooper::IsLocked()
- » [haiku-development] Re: BLooper::IsLocked()
- » [haiku-development] Re: BLooper::IsLocked()
- [haiku-development] Re: BLooper::IsLocked()
- From: Axel Dörfler
- [haiku-development] Re: BLooper::IsLocked()
- From: Stephan Assmus