Open Lurk opened 3 years ago
TLDR version of why:
The Clipboard crate calls NSPasteboard.readObjectsForClasses to get current clipboard content, but not Rust nor Objective C runtime knows who is responsible for freeing memory, so nobody frees it. Surprise!
This is unfinished stuff. If you are interested, I will push the update.
Finished stuff located here: https://github.com/alacritty/copypasta/pull/33
TLDR version of why:
The Clipboard crate calls NSPasteboard.readObjectsForClasses to get current clipboard content, but not Rust nor Objective C runtime knows who is responsible for freeing memory, so nobody frees it. Surprise!