Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if func() bool {
- positionLock.Lock()
- defer positionLock.Unlock()
- return positionDirty
- }() {
- saveState()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement