mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 22:43:41 +00:00
Don't segfault on empty multithreaded iterator result set
This commit is contained in:
@@ -376,6 +376,8 @@ namespace IfcGeom {
|
|||||||
if (num_threads_ != 1) {
|
if (num_threads_ != 1) {
|
||||||
collect();
|
collect();
|
||||||
process_concurrently();
|
process_concurrently();
|
||||||
|
|
||||||
|
return all_processed_elements_.size();
|
||||||
} else {
|
} else {
|
||||||
if (!create()) {
|
if (!create()) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user