openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.98k stars 2.55k forks source link

Fixes ofThread non-virtual dtor and examples #8094

Closed danoli3 closed 2 months ago

danoli3 commented 2 months ago

Fixes https://github.com/openframeworks/openFrameworks/issues/7912

ofThread has virtual function - threadedFunction() and no virtual destructor. This PR adds virtual dtor.

Also I tested the examples and fixed a crash on exit for threadedImageLoader and something was wrong with pixel[0] access on the other.

All working now