[Mono-list] Finalizer never called

Giuseppe Greco giuseppe.greco@agamura.com
Fri, 01 Aug 2003 07:01:41 +0200


--=-OmvRN6GAAgNneMAf739F
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi all,

I've still the problem that the destructor (or finalizer) is
never called... and this cause my applications to crash when
exiting.

I'm using the very last version of Mono/mcs and I'm running
a RedHat 9 box...

Since I implement the IDisposable interface, the only way to
get my apps exit gracefully, is to call Dispose() explicitly...

Please, try the attached program more than once (yes, because
it may complete successfully the first time you execute it),
and let me know if you have the same problem...

Thanks,
Gius_.

-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  giuseppe.greco@agamura.com
web:    www.agamura.com
----------------------------------------

--=-OmvRN6GAAgNneMAf739F
Content-Disposition: attachment; filename=finalizer.tar.gz
Content-Type: application/x-compressed-tar; name=finalizer.tar.gz
Content-Transfer-Encoding: base64

H4sIACXyKT8AA+0YS2wb13GWkiiJtlVZ/khCjPiJsl1SbfjRt7IoWaU+jhurLkC7BowCyZJ8ojde
7rL7kS0HSnJq0QLtNc2hQAsEveZSoEaLBD0U6Mm5BUXRFAjQD3JIi6KXokBTdebtLLmUZVco5KQH
Djn73pudNzNvZt7s7ts0LN007ksnC08NcghzczNBOzvd1jIAMuQnp+Zyk5N5pM/O5mdAzDw9kzrA
sNmMf7OXqbiHq4MCPLsn7pH45+em8u3xz+dzM3kQh2tFB/YD3zWsmihtu56sLySio8z1247Uq0hY
SCQaftk0KqJi6q4rNrbXw1wRF8WVVcNt2K5eNmXilYQQwTThqWYBCWXbNoXhBmyyKhbFpm66EqUK
wXIjElNpJJMcIVZsy7VNmbnpGJ68algylSSS5/gVz3aSaSVBsCYUa8m7rD3V6pY83fFSq3bJrkvv
Nq4mnV6ITMsE99tpV9yiXrlTc2zfIrmoUNL9HWWxY2zpnhRbtlEVEbERu+/eNkwpUmOtNaf5Tuid
TMmUspGawexnzTuh/FcP7ItVGXUFMb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