disable multithread on iOS

This commit is contained in:
2019-02-28 23:28:25 +01:00
parent 080a306cc6
commit 44ca908c6d
2 changed files with 38 additions and 0 deletions

View File

@@ -477,6 +477,10 @@ void NodeStrokePreview::draw_stroke()
{
if (m_size.x == 0 || m_size.y == 0)
return;
#if __IOS__
draw_stroke_immediate();
return;
#endif
s_queue.mutex.lock();
if (!s_running)
{