|
|
@ -8,9 +8,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
void AssertIsOnSessionStoreQueue()
|
|
|
|
void AssertIsOnSessionStoreQueue()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(10, 0)) {
|
|
|
|
if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(10, 0)) {
|
|
|
|
dispatch_assert_queue([OWSDispatch sessionStoreQueue]);
|
|
|
|
dispatch_assert_queue([OWSDispatch sessionStoreQueue]);
|
|
|
|
} // else, skip assert as it's a development convenience.
|
|
|
|
} // else, skip assert as it's a development convenience.
|
|
|
|
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@implementation TSStorageManager (SessionStore)
|
|
|
|
@implementation TSStorageManager (SessionStore)
|
|
|
|