Closed

Description
Hi,
This might be more of a rust question, but how do I stop EzRpcServer? I have a test that starts the server in a child task, and I'd like to stop it when the test finishes. The test below passes, but then it hangs presumably because the server is still running.
#[test]
fn my_test() {
spawn(proc() {
let rpc_server = EzRpcServer::new("127.0.0.1:12345").unwrap();
});
// Do things.
}
Thanks!
Metadata
Metadata
Assignees
Labels
No labels