Skip to content

Commit e7b1650

Browse files
committed
Inverse closing and deleting
1 parent 90225c0 commit e7b1650

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

i2c_mutex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def set_overall_mutex(self):
5050

5151
def release_overall_mutex(self):
5252
try:
53-
os.remove('/run/DexterOS_overall_mutex')
5453
self.overall_mutex_handle.close()
54+
os.remove('/run/DexterOS_overall_mutex')
5555
except:
5656
pass
5757

0 commit comments

Comments
 (0)