mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
Fix condition where settings may be applied with multithreading is disabled
This commit is contained in:
parent
e42848d37d
commit
c86b91c5f0
@ -2664,6 +2664,11 @@ public:
|
|||||||
}
|
}
|
||||||
setUpMultithreading();
|
setUpMultithreading();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
// Force values in case the user accidentally defined them with multicore disabled
|
||||||
|
_concurrency = 1;
|
||||||
|
_cpuPinningEnabled = false;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef ZT_SDK
|
#ifndef ZT_SDK
|
||||||
|
Loading…
Reference in New Issue
Block a user