mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-10-05 18:03:21 +08:00
After loading saved sessions schedule them to expire
This commit is contained in:
@@ -63,9 +63,7 @@ func NewInstance(session *Session) (*Instance, error) {
|
||||
|
||||
go instance.Attach()
|
||||
|
||||
rw.Lock()
|
||||
err = saveSessionsToDisk()
|
||||
rw.Unlock()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user