| 215 | } |
| 216 | |
| 217 | bool Session::hasAsyncWork() { |
| 218 | for (auto& iter : mRuntime.first) { |
| 219 | auto res = iter.second->hasAsyncWork(); |
| 220 | if (res) { |
| 221 | return true; |
| 222 | } |
| 223 | } |
| 224 | return false; |
| 225 | } |
| 226 | |
| 227 | std::pair<const void*, size_t> Session::getCache() { |
| 228 | // Set cancelled for quickly ending |
no outgoing calls
no test coverage detected