feat: add uninit

This commit is contained in:
2026-09-29 01:22:44 +02:00
parent 9613b76a93
commit 971c833b3e

View File

@@ -25,3 +25,11 @@ where
Ok(result) Ok(result)
} }
/// Uninitializes libnotify.
/// This should be called when the program no longer needs libnotify for the rest of its lifecycle, typically just before exitting.
pub fn uninit() {
unsafe {
notify_uninit();
}
}