Skip to content

Commit 78e47c7

Browse files
kylecarbsmafredri
andauthored
Update cli/vscodeipc/vscodeipc_test.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent aca49b5 commit 78e47c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/vscodeipc/vscodeipc_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ func TestVSCodeIPC(t *testing.T) {
4040
id := uuid.New()
4141
derpMap := tailnettest.RunDERPAndSTUN(t)
4242
coordinator := tailnet.NewCoordinator()
43+
t.Cleanup(func() {
44+
_ = coordinator.Close()
45+
})
4346
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
4447
switch r.URL.Path {
4548
case fmt.Sprintf("/api/v2/workspaceagents/%s/connection", id):

0 commit comments

Comments
 (0)