Skip to content

Commit ec67bbb

Browse files
authored
Merge pull request dmf-mxl#165 from GalleryUK/MarkGilbertFixes
fix SIGABRT in DomainWatcher
2 parents c3cfe8f + 259d5ae commit ec67bbb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/src/internal/DomainWatcher.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ namespace mxl::lib
279279
std::lock_guard<std::mutex> lock(_mutex);
280280
watchCount = _watches.size();
281281
eventsToMonitor.reserve(watchCount);
282+
eventsToMonitor.resize(watchCount);
282283
eventsToMonitorRecords.reserve(watchCount);
283284
size_t index = 0;
284285
for (auto const& [wd, rec] : _watches)

0 commit comments

Comments
 (0)