read text aloud
This commit is contained in:
@@ -115,7 +115,7 @@ extension WorkspaceModel {
|
||||
}
|
||||
|
||||
/// Stops the watchers and polling, waits for the work still running against this project,
|
||||
/// then saves the note and the session and ends the terminals.
|
||||
/// then stops reading aloud, saves the note and the session and ends the terminals.
|
||||
func closeProject() async {
|
||||
watcher?.stop()
|
||||
watcher = nil
|
||||
@@ -132,6 +132,7 @@ extension WorkspaceModel {
|
||||
await refresh?.value
|
||||
await symbols?.value
|
||||
for task in running { await task.value }
|
||||
readAloud.stop()
|
||||
await editor?.flushAutoSaves()
|
||||
await note?.save()
|
||||
await editor?.persist()
|
||||
|
||||
Reference in New Issue
Block a user