From: <an...@us...> - 2007-09-28 18:10:54
|
Revision: 961 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=961&view=rev Author: and-81 Date: 2007-09-28 11:10:48 -0700 (Fri, 28 Sep 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MicrosoftMceTransceiver.cs Modified: trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs 2007-09-28 16:34:14 UTC (rev 960) +++ trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs 2007-09-28 18:10:48 UTC (rev 961) @@ -43,7 +43,7 @@ #endregion Enumerations - internal class IRServer : IDisposable + public class IRServer : IDisposable { #region Constants @@ -115,6 +115,10 @@ if (disposeManagedResources) { // Dispose managed resources ... + + StopServer(); + StopClient(); + _notifyIcon.Dispose(); _notifyIcon = null; } @@ -183,7 +187,7 @@ { IrssLog.Warn("No transmit plugin loaded"); } - else if (_pluginTransmit != null) + else if (_pluginTransmit == null) { _pluginTransmit = Program.GetPlugin(_pluginNameTransmit); } Modified: trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MicrosoftMceTransceiver.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MicrosoftMceTransceiver.cs 2007-09-28 16:34:14 UTC (rev 960) +++ trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MicrosoftMceTransceiver.cs 2007-09-28 18:10:48 UTC (rev 961) @@ -252,7 +252,7 @@ } public LearnStatus Learn(out byte[] data) { - IrCode code = null; + IrCode code; LearnStatus status = _driver.Learn(_learnTimeout, out code); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |