RobotStudio event

Release of mastership problem

Hey, 
im new at using the PC SDK and trying to do a application in C# where i only request mastership at one place, in a thread. The problem is that i dont really know how to release the mastership in a good way here. Do anyone have an idea?
All help is appreciated! 

Comments

  • I assume you are using the Mastership Class. With requesting the mastership, a Mastership object is returned. This object (class) contains functions to release (release()) the mastership and to dispose (dispose()) the mastership.

    Can you show how you request the masterhip currently?