0003226: SkinFunction IsPluginEnabled causes needless MPSettings instantiation (1 Viewer)

MediaPortal-Bot

Worlds greatest bot!
March 26, 2007
3,715
180
Home Country
Germany Germany
While the MPSettings values are cached, any read/write operation from it still requires a new object to be instantiated. This is normally not a problem, except that the above mentioned skinfunction causes this to happen at every render pass. MPSettings values are always cached, and thus always read from the same valuelist, so instantiation is not required everytime.

Created Instance Property, and changed those read operation to use it inside PluginManager which are called by the skinfunction. Other MPSettings read operation not changed.
Also removed (needless) left-over instantiation in InfoManager.

http://mantis.team-mediaportal.com/view.php?id=3226

Open the issue in Mantis...
 

Users who are viewing this thread

Top Bottom