Skip to content

Commit

Permalink
AppManager: cache can be restored even if running in background (why …
Browse files Browse the repository at this point in the history
…not?)
  • Loading branch information
devernay committed Feb 22, 2018
1 parent 2876c47 commit a6ada17
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Engine/AppManagerPrivate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,8 @@ restoreCache(AppManagerPrivate* p,
void
AppManagerPrivate::restoreCaches()
{
if ( !appPTR->isBackground() ) {
restoreCache<FrameEntry>( this, _viewerCache.get() );
restoreCache<Image>( this, _diskCache.get() );
}
restoreCache<FrameEntry>( this, _viewerCache.get() );
restoreCache<Image>( this, _diskCache.get() );
} // restoreCaches

bool
Expand Down

0 comments on commit a6ada17

Please sign in to comment.