mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
sys_net/NP: set some init dependencies
Ensure finalization order of network threads. This should prevent some crashes.
This commit is contained in:
parent
064fc81697
commit
86d2316089
4 changed files with 15 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ LOG_CHANNEL(sign_log, "Signaling");
|
|||
|
||||
std::vector<std::pair<std::pair<u32, u16>, std::vector<u8>>> get_sign_msgs();
|
||||
s32 send_packet_from_p2p_port(const std::vector<u8>& data, const sockaddr_in& addr);
|
||||
void need_network();
|
||||
|
||||
template <>
|
||||
void fmt_class_string<SignalingCommand>::format(std::string& out, u64 arg)
|
||||
|
|
@ -37,6 +38,11 @@ void fmt_class_string<SignalingCommand>::format(std::string& out, u64 arg)
|
|||
});
|
||||
}
|
||||
|
||||
signaling_handler::signaling_handler()
|
||||
{
|
||||
need_network();
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
//// SIGNALING CALLBACKS ////
|
||||
/////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue