We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c10279 commit 63be94cCopy full SHA for 63be94c
src/models/server/server.go
@@ -285,7 +285,7 @@ func (p *ProxyServer) Close() {
285
p.Release()
286
287
// if the proxy created by PrivilegeMode, delete it when closed
288
- if p.PrivilegeMode && oldStatus != consts.Closed {
+ if p.PrivilegeMode && oldStatus == consts.Working {
289
// NOTE: this will take the global ProxyServerMap's lock
290
// if we only want to release resources, use Release() instead
291
DeleteProxy(p.Name)
0 commit comments