You can use lockdir.peek() to see if it's already held and to get some information.
Really the locking stuff should be lifted to the uifactory, then you can do this in a more structured way.
You can use lockdir.peek() to see if it's already held and to get some information.
Really the locking stuff should be lifted to the uifactory, then you can do this in a more structured way.