Context class

Posts   
 
    
mikeg22
User
Posts: 411
Joined: 30-Jun-2005
# Posted on: 16-Sep-2005 00:55:55   

Why don't the entities remove themselves from their ActiveContext during Finalize? Is there any danger in implementing this myself?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 16-Sep-2005 10:14:39   

because finalize is never called as they're referenced by the context, so the GC will never consider them as a collectable object.

Frans Bouma | Lead developer LLBLGen Pro