Skip to content

Commit 713e6d2

Browse files
committed
comment
1 parent dbf7b2c commit 713e6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbos/system_database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@ func (s *sysDB) getEvent(ctx context.Context, input getEventInput) (any, error)
20712071
// Defer broadcast to ensure any waiting goroutines eventually unlock
20722072
defer func() {
20732073
cond.Broadcast()
2074-
// Clean up the condition variable after we're done, if we created it
2074+
// Clean up the condition variable after we're done (Delete is a no-op if the key doesn't exist)
20752075
s.workflowEventsMap.Delete(payload)
20762076
}()
20772077

0 commit comments

Comments
 (0)