Skip to content

Commit eafee6b

Browse files
committed
remove mutex on sub close
1 parent 8cff11b commit eafee6b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

coderd/workspaceupdates.go

-2
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)