Skip to content

Commit 1fd1428

Browse files
committed
Remove derpclose func
1 parent 15ed467 commit 1fd1428

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

coderd/coderd.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,6 @@ type API struct {
786786
siteHandler http.Handler
787787

788788
WebsocketWatch *activewebsockets.Active
789-
derpCloseFunc func()
790789

791790
metricsCache *metricscache.Cache
792791
workspaceAgentCache *wsconncache.Cache
@@ -803,7 +802,6 @@ type API struct {
803802
// Close waits for all WebSocket connections to drain before returning.
804803
func (api *API) Close() error {
805804
api.cancel()
806-
api.derpCloseFunc()
807805

808806
api.WebsocketWatch.Close()
809807

0 commit comments

Comments
 (0)