[SourceKit] Cancel in-flight builds on editor.close

When closing a document, cancel any in-flight
builds happening for it.

rdar://127126348
This commit is contained in:
Hamish Knight
2024-04-30 12:00:27 +01:00
parent 3fbad90a73
commit 69f2e26d35
6 changed files with 243 additions and 2 deletions

View File

@@ -313,6 +313,7 @@ public:
bool AllowInputs = true);
void removeCachedAST(SwiftInvocationRef Invok);
void cancelBuildsForCachedAST(SwiftInvocationRef Invok);
struct Implementation;
Implementation &Impl;