| 10 | } |
| 11 | |
| 12 | State AppInstance::getState() const { |
| 13 | mutex.lock(); |
| 14 | auto result = state; |
| 15 | mutex.unlock(); |
| 16 | return result; |
| 17 | } |
| 18 | |
| 19 | /** TODO: Make this thread-safe. |
| 20 | * In practice, the bundle is writeable, so someone could be writing to it |
no test coverage detected