Function moras::modules::riscv::middleware::frontend_api::stop_share_server
source ยท pub fn stop_share_server(
cur_tab_name: State<'_, CurTabName>,
tab_map: State<'_, TabMap>,
rpc_state: State<'_, RpcState>,
) -> bool
Expand description
Stop the share server for the current tab.
cur_tab_name
: State containing the current tab name.tab_map
: State containing the map of all tabs.rpc_state
: State containing the RPC server/client.
Returns bool
indicating the success or failure, failure means the
server is not running.