Skip to content

Commit a860f39

Browse files
committed
Fix nil condition
1 parent 87f6128 commit a860f39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/server/service.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ func NewLocalStackService(
6666
aws: awsConf,
6767
runtime: runtime,
6868

69-
allDone: make(chan struct{}, 1),
69+
allDone: make(chan struct{}, 1),
70+
isShuttingDown: &atomic.Bool{},
71+
pendingCallbacks: 0,
7072
}
7173
}
7274

0 commit comments

Comments
 (0)