Fix supervisor segfault due to nil pointer access
This commit is contained in:
parent
d50fee4fa0
commit
9057a6493e
|
@ -103,6 +103,7 @@ func NewSupervisor(config *TunnelConfig, u uuid.UUID) (*Supervisor, error) {
|
|||
logger: config.Logger.WithField("subsystem", "supervisor"),
|
||||
jwtLock: &sync.RWMutex{},
|
||||
eventDigestLock: &sync.RWMutex{},
|
||||
connDigestLock: &sync.RWMutex{},
|
||||
bufferPool: buffer.NewPool(512 * 1024),
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue