swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange list behavior


From: Marcus G. Daniels
Subject: Re: strange list behavior
Date: 06 Jan 2000 22:12:07 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

The reason for your crash is that lexList can be dropped in `die'.
So, the value of lexList contains garbage after that happens.  When you
send that garbage object getCount, the message dispatch crashes.

To avoid this, you should assign nil to lexList immediately after the drop
in the die method, and add "if (lexList)" around code that might run when
lexList doesn't exist (or perhaps look for a design where data structures
don't get out of sync).



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]