RB Destructors/Destroying Stuff

Ian Devaney idevaney at mac.com
Sat Jun 19 10:13:34 CDT 2004


>
> Hi Ian,
>
>> My vServer app will involve people signing on and off.
>>
>> When a user signs off I am trying to nil references to databases etc.
>
> In the client code?

Yes.

>
>> Firstly, even though I close databases and set their references to 
>> nil,
>> RB shows the names of tables, references to vVarChars and things when 
>> I
>> list object references.
>
> In debugger window ?

No.

> Hmm, inside of rb debugger it is possible to see ref counter for 
> object?
> How ?
>
> I have not see this.

runtime.ObjectCount

> -------
> May be you have other references to db object
> E.g. From window object?

Guess I must have!

> Does server show in log
>     connection closed?
>

Will check.

Cheers,

Ian



More information about the Valentina mailing list