Opened 11 years ago
Closed 11 years ago
#542 closed defect (fixed)
broken signal logic
Reported by: | westram | Owned by: | epruesse |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Library (GUI) | Version: | gtkport |
Keywords: | Cc: | mcottrell |
Description
When a signal triggers an application-exit, the signal gets destroyed together with AW_root (causing assertion to fail).
Change History (6)
comment:1 follow-up: ↓ 3 Changed 11 years ago by westram
- Owner changed from devel to westram
- Status changed from new to _started
- in ARB_NTREE this does not cause problems
- in ARB_EDIT4 this causes a SEGV. stacktrace:
comment:2 Changed 11 years ago by mcottrell
- Cc mcottrell added
comment:3 in reply to: ↑ 1 Changed 11 years ago by westram
- Status changed from _started to infoneeded
comment:4 Changed 11 years ago by epruesse
- Status changed from infoneeded to assigned
I'll look into it. The AW_signal currently cannot self-destruct. I guess I'll have to put everything into the pimple so that it can defer freeing the data until the emit() is done.
comment:5 Changed 11 years ago by epruesse
- Owner changed from westram to epruesse
comment:6 Changed 11 years ago by epruesse
- Resolution set to fixed
- Status changed from assigned to closed
fixed by r12265 — AW_signal can now be deleted from within its emit() loop. The AW_signal::Pimpl will survive until emit() has completed and self delete at its end.
Note: See
TracTickets for help on using
tickets.