Skip to content

Commit afffbcb

Browse files
committed
Server: Fix double-unlock if a ship area job is cancelled
1 parent 0680f22 commit afffbcb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ServerLib/ServerShipEnvironment.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -696,10 +696,7 @@ namespace tsom
696696
for (Area& area : areaList->areas)
697697
{
698698
if (updateJob->isCancelled)
699-
{
700-
chunkPtr->UnlockRead(); // TODO: lock guards
701699
return;
702-
}
703700

704701
BuildAreaCollider(area, *chunkPtr);
705702
}

0 commit comments

Comments
 (0)