Skip to content

Commit c46a8b1

Browse files
committed
Finish threadsafety warning comment
I think I literally fell asleep while writing this...
1 parent fa5a23b commit c46a8b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mapsync-mod/src/main/java/gjum/minecraft/mapsync/mod/MapSyncMod.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void handleSyncDisconnection(
132132
client.authState.set(null);
133133
}
134134

135-
/// Keep in mind this could be
135+
/// BEWARE: This is called from whatever thread the given SyncClient websocket is using for reads.
136136
public void handleSyncPacket(
137137
final @NotNull SyncClient client,
138138
final @NotNull Packet received

0 commit comments

Comments
 (0)