| 1584 | // callbacks |
| 1585 | |
| 1586 | void MMKV::registerHandler(mmkv::MMKVHandler *handler) { |
| 1587 | if (!g_instanceLock) { |
| 1588 | return; |
| 1589 | } |
| 1590 | SCOPED_LOCK(g_instanceLock); |
| 1591 | g_handler = handler; |
| 1592 | } |
| 1593 | |
| 1594 | void MMKV::unRegisterHandler() { |
| 1595 | if (!g_instanceLock) { |
nothing calls this directly
no outgoing calls
no test coverage detected