when i use
"this.master = Mastership.Request(controller.Rapid);"in the front of my program to Perform operation ,and finally use "this.master.Release();"to release the mastership.but when the program perform the middle of the program ,the mastership will be not released.so i add a button like this:
private void button30_Click(object sender, EventArgs e)
{
ismaster = this.controller.Rapid.IsMaster;
if (ismaster == true)
{
this.master.Dispose();
}
}
but theres not any use at all.so how can i solve it. And whats the different between “dispose” and “release”?Thank you very much!