hypeartist / fog

Automatically exported from code.google.com/p/fog
0 stars 0 forks source link

Library shouldn't shutdown on failure #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If there is assertion failure or some problem and exit() or similar method
is called, Fog library will shutdown using standard fog_shutdown() method.
See Fog/Core/Init.cpp.

This is problem, because for example Fog::ThreadPool wants to destroy all
threads and if some problem was in thread owned by ThreadPool then library
never exit, instead there will be message:

"""
Fog::ThreadPool::~ThreadPool() - Destroying instance, but some threads are
still used, waiting...
"""

This is problem and it must be solved. Maybe using flag fog_failed or
something like this?

Original issue reported on code.google.com by kobalicek.petr on 12 Dec 2009 at 4:09

GoogleCodeExporter commented 8 years ago
Changed priority to Low

Original comment by kobalicek.petr on 18 Dec 2009 at 2:36