Skip to content

Clipboard monitor outlives the keyboard service #712

Description

@Roniscend

Terms

Behavior

ClipboardMonitor creates a CoroutineScope(Dispatchers.Main) that is never cancelled, and onDestroy() doesn't stop it. Its listener and coroutines can keep the service context alive.

Device type

Pixel 9

Versions

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

-next release-Included in the next releasehelp wantedExtra attention is needed

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions