Skip to content

Commit dbc9515

Browse files
committed
remove mutex on sub close
1 parent f0b8796 commit dbc9515

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

coderd/workspaceupdates.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ func (s *sub) start(ctx context.Context) (err error) {
110110
func (s *sub) Close() error {
111111
s.cancelFn()
112112

113-
s.mu.Lock()
114-
defer s.mu.Unlock()
115113
if s.psCancelFn != nil {
116114
s.psCancelFn()
117115
}

0 commit comments

Comments
 (0)