Skip to content

Commit 1ae616d

Browse files
committed
Merge pull request godotengine#111672 from OverShifted/patch-1
Fix typo in mutex documentation
2 parents ca52453 + 1e8fd57 commit 1ae616d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/Mutex.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<description>
3636
Unlocks this [Mutex], leaving it to other threads.
3737
[b]Note:[/b] If a thread called [method lock] or [method try_lock] multiple times while already having ownership of the mutex, it must also call [method unlock] the same number of times in order to unlock it correctly.
38-
[b]Warning:[/b] Calling [method unlock] more times that [method lock] on a given thread, thus ending up trying to unlock a non-locked mutex, is wrong and may causes crashes or deadlocks.
38+
[b]Warning:[/b] Calling [method unlock] more times than [method lock] on a given thread, thus ending up trying to unlock a non-locked mutex, is wrong and may causes crashes or deadlocks.
3939
</description>
4040
</method>
4141
</methods>

0 commit comments

Comments
 (0)