Fixed a bug in dlib's MS Windows GUI code that was introduced a little while back
when we switched everything to std::shared_ptr. Turns out std::shared_ptr has some surprising limitations. This change fixes a bug where the program crashes or hangs sometimes during program shutdown.
Showing
Please
register
or
sign in
to comment