mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +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) {
|
||||
collect();
|
||||
process_concurrently();
|
||||
|
||||
return all_processed_elements_.size();
|
||||
} else {
|
||||
if (!create()) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user