fn remove_core_stats_sender(sender: CoreStatsSender) {
        match &server.borrow().monitor {
            ServerField::Monitor(monitor) => monitor.remove_sender(sender),
            _ => log::error!("Server not running, unable to add stats sender."),
        }
    }
// remove a stats sender to the system monitor
remove a stats sender to the system monitor
remove a stats sender to the system monitor
fn remove_core_stats_sender(sender: CoreStatsSender) {
        match &server.borrow().monitor {
            ServerField::Monitor(monitor) => monitor.remove_sender(sender),
            _ => log::error!("Server not running, unable to add stats sender."),
        }
    }
fn remove_core_stats_sender ( sender : CoreStatsSender ) { match & server . borrow ( ) . monitor { ServerField :: Monitor ( monitor ) => monitor . remove_sender ( sender ) , _ => log :: error ! ( " " ) , } }
remove a stats sender to the system monitor
remove a stats sender to the system monitor
sender
CoreStatsSender