Changed plugin loader to try unloading plugin if unused

Deleting the root component can delete plugins already
used elsewhere in the application or library.

Change-Id: Ibd0afb61cf0e118eb13f9782252c1fec554ea901
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Jonas Rabbe
2012-02-06 10:49:21 +10:00
committed by Qt by Nokia
parent 0924cff7b3
commit 262f397e3e

View File

@@ -225,7 +225,7 @@ void QMediaPluginLoader::load()
#endif #endif
} }
delete o; loader.unload();
} }
} }
} }