// This code added to correctly implement the disposable pattern. public void Dispose() { _ws.RemovePath("/demoLED.html"); _ports.Dispose(); }
// This code added to correctly implement the disposable pattern. public void Dispose() { _ws.RemoveTimer("TestTimer"); _ws.RemovePath("/demoTimer.html"); _ports.Dispose(); }