1
0
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:
Jonathan Leibiusky @xetorthio
2016-11-15 14:24:02 -03:00
parent a552e19ec6
commit 802375bbf7
2 changed files with 24 additions and 5 deletions

View File

@@ -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
}