Closed
Description
Describe the bug
Tray icon doesn't clean up on exit when TrayIcon.getById
is called from js side
Reproduction
Add this to examples/api/src/main.js
import { TrayIcon } from '@tauri-apps/api/tray'
TrayIcon.getById('tray-1')
Add permission "tray:allow-get-by-id"
to examples/api/src-tauri/capabilities/run-app.json
Expected behavior
No response
Full tauri info
output
Current head e64b8f1dcedad3222f46755bf6f30392a7ec2f90
Stack trace
No response
Additional context
No response