public void Dispose() { lock (Helpers.locker) { on_coordinates_callback = null; Options.CalibrationMode.Changed -= UpdateTobiiStreams; try { host.Dispose(); } catch (Tobii.Interaction.Client.InteractionApiException) { // TODO: Fix MemoryLeak } } }
public void Dispose() { host.Dispose(); }