home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Trakt
MediaPortal stopped due to an exception Type 'TraktPlugin.TraktAPI.DataStructures.TraktMovieSummary'
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sebastiii" data-source="post: 1228412" data-attributes="member: 60104"><p>I'm just getting the crash <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>It seems to be because in line : </p><p>foreach (String sTextureName in _cachedAllocatorImages)</p><p>There is no _cachedAllocatorImages (count is 0) and then it failed here, let's try by adding : </p><p></p><p>[code=csharp]public static void ClearCachedAllocatorImages()</p><p> {</p><p> if (_cachedAllocatorImages != null)</p><p> {</p><p> if (_cachedAllocatorImages.Count > 0)</p><p> {</p><p> foreach (String sTextureName in _cachedAllocatorImages)</p><p> {</p><p> if (sTextureName != null) Flush(sTextureName);</p><p> }</p><p> }</p><p> _cachedAllocatorImages.Clear();</p><p> }</p><p> _cachedAllocatorImages = null;</p><p> _cachedAllocatorImages = new List<string>();</p><p> }[/code]</p><p></p><p>What do you thing [USER=52219]@ltfearme[/USER] ?</p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p></blockquote><p></p>
[QUOTE="Sebastiii, post: 1228412, member: 60104"] I'm just getting the crash :) It seems to be because in line : foreach (String sTextureName in _cachedAllocatorImages) There is no _cachedAllocatorImages (count is 0) and then it failed here, let's try by adding : [code=csharp]public static void ClearCachedAllocatorImages() { if (_cachedAllocatorImages != null) { if (_cachedAllocatorImages.Count > 0) { foreach (String sTextureName in _cachedAllocatorImages) { if (sTextureName != null) Flush(sTextureName); } } _cachedAllocatorImages.Clear(); } _cachedAllocatorImages = null; _cachedAllocatorImages = new List<string>(); }[/code] What do you thing [USER=52219]@ltfearme[/USER] ? :P [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Trakt
MediaPortal stopped due to an exception Type 'TraktPlugin.TraktAPI.DataStructures.TraktMovieSummary'
Contact us
RSS
Top
Bottom