hedecai/fog

Library shouldn't shutdown on failure

Opened this issue · 1 comments

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

Changed priority to Low

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

  • Added labels: Priority-Low
  • Removed labels: Priority-High