restorable: Skip resolving stale images when possible

This commit is contained in:
Hajime Hoshi 2018-02-23 03:19:20 +09:00
parent e6143d0a2b
commit 2507379494

View File

@ -57,6 +57,9 @@ func ResolveStaleImages() error {
if err := graphics.FlushCommands(); err != nil { if err := graphics.FlushCommands(); err != nil {
return err return err
} }
if !restoringEnabled {
return nil
}
return theImages.resolveStaleImages() return theImages.resolveStaleImages()
} }