[Slim-Checkins] r9847 - /trunk/server/Slim/Networking/Slimproto.pm
adrian at svn.slimdevices.com
adrian at svn.slimdevices.com
Mon Sep 18 14:39:04 PDT 2006
Author: adrian
Date: Mon Sep 18 14:39:02 2006
New Revision: 9847
URL: http://svn.slimdevices.com?rev=9847&view=rev
Log:
Bug: N/A
Decription: revert 9743 as it creates a new display class without
killing the old one - seen as corrupted displays
Modified:
trunk/server/Slim/Networking/Slimproto.pm
Modified: trunk/server/Slim/Networking/Slimproto.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Networking/Slimproto.pm?rev=9847&r1=9846&r2=9847&view=diff
==============================================================================
--- trunk/server/Slim/Networking/Slimproto.pm (original)
+++ trunk/server/Slim/Networking/Slimproto.pm Mon Sep 18 14:39:02 2006
@@ -808,11 +808,9 @@
$client = undef;
}
- if ( defined $client ) {
- if ( blessed($client->display) && blessed($client->display) ne $display_class ) {
- $::d_slimproto && msg("change display for $client_class to $display_class\n");
- $client->display->forgetDisplay();
- }
+ if (defined $client && blessed($client->display) && blessed($client->display) ne $display_class) {
+ $::d_slimproto && msg("change display for $client_class to $display_class\n");
+ $client->display->forgetDisplay();
Slim::bootstrap::tryModuleLoad($display_class);
More information about the checkins
mailing list