Like D51475 but simplified based on recent patches.
While here, clarify that loadIndex() takes a filename, not file content.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I think you're right - this isn't actually asynchronous (I didn't manage to test that!), and if it were it'd interfere with clean shutdown.
I think both issues can be addressed by assigning the future to a variable scoped to main. Will send a patch.
Wouldn't the future returned by runAsync wait in destructor?