| 114 | } |
| 115 | |
| 116 | void ContextManager::destroyAllContexts() { |
| 117 | auto contexts = getAllContexts(); |
| 118 | for (const auto& context : contexts) { |
| 119 | destroyContext(context); |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | SharedContext ContextManager::lockFreeGetContext(ContextId contextId) const { |
| 124 | auto it = _contextById.find(contextId); |