From: <lk...@us...> - 2008-04-02 11:22:53
|
Revision: 1579 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1579&view=rev Author: lkuech Date: 2008-04-02 04:22:44 -0700 (Wed, 02 Apr 2008) Log Message: ----------- Fixed: Potential exception when closing MediaPortal Fixed: some url's where not encoded correctly Modified Paths: -------------- trunk/plugins/WorldMap/MAPS/SearchGeoCodes.cs trunk/plugins/WorldMap/WorldMap.cs Modified: trunk/plugins/WorldMap/MAPS/SearchGeoCodes.cs =================================================================== --- trunk/plugins/WorldMap/MAPS/SearchGeoCodes.cs 2008-04-01 15:13:59 UTC (rev 1578) +++ trunk/plugins/WorldMap/MAPS/SearchGeoCodes.cs 2008-04-02 11:22:44 UTC (rev 1579) @@ -272,7 +272,7 @@ string safeChars = "0123456789" + // Numeric "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + // Alphabetic "abcdefghijklmnopqrstuvwxyz" + - ":-_.!~*'()?\\/=&"; // special + ":-_.!~*'()?\\/=&%"; // special foreach (char Char in url) { if (safeChars.Contains(Char.ToString())) ret += Char; Modified: trunk/plugins/WorldMap/WorldMap.cs =================================================================== --- trunk/plugins/WorldMap/WorldMap.cs 2008-04-01 15:13:59 UTC (rev 1578) +++ trunk/plugins/WorldMap/WorldMap.cs 2008-04-02 11:22:44 UTC (rev 1579) @@ -329,14 +329,8 @@ mapTiles.ClearTileDownloadQueue(); - if (MPisClosing) - { - mapTiles.ImageGrabber.cacheDatabase.DeleteOldCacheEntries(); - } - else - { - using (WaitCursor cursor = new WaitCursor()) mapTiles.ImageGrabber.cacheDatabase.DeleteOldCacheEntries(); - } + mapTiles.ImageGrabber.cacheDatabase.DeleteOldCacheEntries(); + mapTiles = null; ProgressBarActiveTexture.Dispose(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |