🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1292

debugging calls to Resource: :unref()

#1292
From: Douglas Scott
Date: Thu, 19 Nov 1992 18:50
17 lines
1235 bytes
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>
Technical Details
Message-ID: <9211191850.AA27518@foxtrot.ccmrc.ucsb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!FOXTROT.CCMRC.UCSB.EDU!doug

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!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