diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-31 18:11:35 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-10-31 18:11:36 +0100 |
commit | 07c9e3d393db4b4d59262f7d9898be169ac2f927 (patch) | |
tree | 2623fbfd1c1614c2de575437cb89a787e93d8c1d /src/Cache.cpp | |
parent | a5e2adedf38f84a8be5e8d844e02991d3bbfecca (diff) |
Make generic
Diffstat (limited to 'src/Cache.cpp')
-rw-r--r-- | src/Cache.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp index 712a716..8657371 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -286,6 +286,8 @@ namespace dchat checkContentAccessTimeThread = thread([this] { + // TODO: Add this back + #if 0 while(alive) { this_thread::sleep_for(chrono::milliseconds(500)); @@ -323,6 +325,7 @@ namespace dchat ++it; } } + #endif }); } @@ -331,7 +334,8 @@ namespace dchat alive = false; downloadWaitThread.join(); checkContentAccessTimeThread.join(); - + // TODO: Add this back + #if 0 for(auto &it : contentUrlCache) { if(!it.second.textureFilePath) @@ -362,6 +366,7 @@ namespace dchat break; } } + #endif } static void createFileIgnoreError(const boost::filesystem::path &path) |