pub(crate) fn create_active() {
        let _ = logging::init();
        ACTIVE_NETWORK
            .with(|active_network| active_network.borrow_mut().replace(Box::new(Self::new())));
    }
/// Creates a new, empty network controller and sets it as active.
///
/// # Panics
///
/// Panics if the internal lock has been poisoned.
Creates a new, empty network controller and sets it as active.
Creates a new empty network controller and sets it as active .
pub(crate) fn create_active() {
        let _ = logging::init();
        ACTIVE_NETWORK
            .with(|active_network| active_network.borrow_mut().replace(Box::new(Self::new())));
    }
pub ( crate ) fn create_active ( ) { let _ = logging :: init ( ) ; ACTIVE_NETWORK . with ( | active_network | active_network . borrow_mut ( ) . replace ( Box :: new ( Self :: new ( ) ) ) ) ; }
Creates a new, empty network controller and sets it as active.
Creates a new empty network controller and sets it as active .
panics
Panics if the internal lock has been poisoned.
Panics if the internal lock has been poisoned .