public override void Teardown() { // Stop the execution of Run() Stop(); // Clean up after yourself! _vrAibo.Dispose(); _frmImage.Dispose(); _frmVrAiboRemote.Dispose(); _frmImage.Dispose(); _referenceImage.Dispose(); }
public override void Teardown() { GLabController.Instance.UnregisterExtension(this); _frame.Dispose(); _image.Dispose(); // Additional teardown of your plugin // ... }