1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a mistake in a comment in the LookAndFeel destructor

This commit is contained in:
ed 2018-01-03 12:57:11 +00:00
parent 3dd94b7341
commit 846f4b4b50

View file

@ -63,7 +63,7 @@ LookAndFeel::~LookAndFeel()
it before you delete it, or call LookAndFeel::setDefaultLookAndFeel (nullptr)
if you had set it up to be the default one. This assertion can also be avoided by
declaring your LookAndFeel object before any of the Components that use it as
the LookAndFeel will be destroyed before the Components.
the Components will be destroyed before the LookAndFeel.
Deleting a LookAndFeel is unlikely to cause a crash since most things will use a
safe WeakReference to it, but it could cause some unexpected graphical behaviour,