tauri
tauri copied to clipboard
[bug] Memory leak in tauri-plugin-persisted-scope
Describe the bug
tauri-plugin-persisted-scope v0.1.0 causes a memory leak until OOM. Not using the plugin fixes the OOM.
Reproduction
tauri::Builder::default()
.plugin(tauri_plugin_persisted_scope::init())
.run(tauri::generate_context!())
.expect("error while running tauri application")
Expected behavior
No memory leak :)
Platform and versions
$ tauri info
Environment
› OS: Arch Linux Unknown X64
› Node.js: 16.13.2
› npm: 9.3.0
› pnpm: 6.11.0
› yarn: 3.3.1
› rustup: 1.25.1
› rustc: 1.63.0
› cargo: 1.63.0
› Rust toolchain: stable-x86_64-unknown-linux-gnu
Packages
WARNING: no lock files found, defaulting to npm
› @tauri-apps/cli [NPM]: 1.2.2
› @tauri-apps/api [NPM]: Not installed!
› tauri [RUST]: 1.2.3,
› tauri-build [RUST]: 1.2.1,
› tao [RUST]: 0.15.8,
› wry [RUST]: 0.23.4,
Stack trace
No response
Additional context
No response