POV-Ray : Newsgroups : povray.off-topic : C++ questions : Re: C++ questions Server Time
7 Sep 2024 15:22:16 EDT (-0400)
  Re: C++ questions  
From: Darren New
Date: 26 Sep 2008 15:33:57
Message: <48dd3925$1@news.povray.org>
Orchid XP v8 wrote:
> Yeah, but if the Haskell runtime has code to handle printing out a 
> human-readable error message on an unhandled exception, why can't it 
> also run some finalisers? This is pretty basic stuff!

Yep, true. I didn't realize you meant "exited cleanly due to an 
unhandled exception." I thought you meant "crashed out due to a signal, 
or running out of memory, or some such."

I suppose you could theoretically do a final GC and finalize before you 
exited (but perhaps before you printed the exception stack?), but I 
think at that point you're already pretty screwed. :-)

-- 
Darren New / San Diego, CA, USA (PST)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.