Re: delete_routine() - malfunction or misunderstanding?

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...

Back when I was developing this, I was planning on having the normal cleanup go through and dereference everything and invoke those cleanup routines. This often broke things, as certain resources would be gone when cleanup routines would try to use them (especially things like maps stored in eumem).

So far, I haven't found a good way to make all of that work, so the routines won't be called at exit. Of course, allocated memory goes away. I suppose that's another documentation update that needs doing.

That makes sense. Would it be possible instead to have a cleanup routine that only looks for objects that still exist and have a delete routine attached?

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu