pub fn remove_context<S: Into<String>>(key: S) {
    let key = key.into().into_cstring();

    {
        let _lock = global_write();
        unsafe { sys::remove_context(key.as_ptr()) }
    }
}
/// Removes the context object with the specified key.
///
/// # Examples
/// ```
/// # use sentry_contrib_native::{remove_context, set_context};
/// set_context("test context", vec![("type", "os"), ("name", "Redox")]);
/// remove_context("test context");
/// ```
Removes the context object with the specified key.
Removes the context object with the specified key .
pub fn remove_context<S: Into<String>>(key: S) {
    let key = key.into().into_cstring();
    {
        let _lock = global_write();
        unsafe { sys::remove_context(key.as_ptr()) }
    }
}
pub fn remove_context < S : Into < String > > ( key : S ) { let key = key . into ( ) . into_cstring ( ) ; { let _lock = global_write ( ) ; unsafe { sys :: remove_context ( key . as_ptr ( ) ) } } }
Removes the context object with the specified key.
Removes the context object with the specified key .
key
S
key
S
examples
None
use sentry_contrib_native::{remove_context, set_context};
None