fix(keyboard): stabilize Flow startup under memory pressure
Delay competing Rime work, add extension memory telemetry and stress coverage, and refresh the 1.8 release assets and metadata for build 79.
This commit is contained in:
@@ -65,7 +65,17 @@ final class ClipboardCaptureCoordinator {
|
||||
|
||||
func keyboardDidAppear() {
|
||||
isKeyboardVisible = true
|
||||
KeyboardExtensionMemoryTelemetry.record(
|
||||
"clipboard.reload.begin",
|
||||
details: "enabled=\(state.clipboardHistoryEnabled ? 1 : 0) "
|
||||
+ "entries=\(history.entries.count)"
|
||||
)
|
||||
history.reload()
|
||||
KeyboardExtensionMemoryTelemetry.record(
|
||||
"clipboard.reload.done",
|
||||
details: "enabled=\(state.clipboardHistoryEnabled ? 1 : 0) "
|
||||
+ "entries=\(history.entries.count)"
|
||||
)
|
||||
// A suggestion belongs to one keyboard presentation. Clear any
|
||||
// presentation state left behind by a reused extension controller.
|
||||
endCurrentSuggestion()
|
||||
|
||||
Reference in New Issue
Block a user