home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.interviews
- Path: sparky!uunet!stanford.edu!FOXTROT.CCMRC.UCSB.EDU!doug
- From: doug@FOXTROT.CCMRC.UCSB.EDU (Douglas Scott)
- Subject: debugging calls to Resource: :unref()
- Message-ID: <9211191850.AA27518@foxtrot.ccmrc.ucsb.edu>
- Sender: news@shelby.stanford.edu (USENET News System)
- Organization: Internet-USENET Gateway at Stanford University
- Date: Thu, 19 Nov 1992 18:50:16 GMT
- Lines: 17
-
- Is there any way to makes all calls to Resource::unref() call delete
- immediately instead of queuing for later deletion? I have tried
- setting Resource::defer(false) at the beginning of my program, but
- apparently this gets reset somewhere else in the InterViews code
- along the way, because Resources are still getting queued. I need to
- flush these *every* time I unreference something, because I have
- otherwise untraceable bugs in my code--i.e., I get crashes during
- calls to destructors, but cannot determine what is being destroyed,
- because it is asynchronous.
-
- Thanks!
-
- ---
- Douglas Scott (805)893-8352
- Center for Computer Music Research and Composition
- University of California, Santa Barbara
- Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
-