mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Remove destructor dependencies on nph
This commit is contained in:
parent
6a7fb4c10c
commit
69238bfc23
2 changed files with 0 additions and 14 deletions
|
|
@ -56,15 +56,6 @@ lv2_socket_native::~lv2_socket_native()
|
|||
::close(socket);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (bound_port)
|
||||
{
|
||||
if (auto* nph = g_fxo->try_get<named_thread<np::np_handler>>())
|
||||
{
|
||||
nph->upnp_remove_port_mapping(bound_port, type == SYS_NET_SOCK_STREAM ? "TCP" : "UDP");
|
||||
}
|
||||
bound_port = 0;
|
||||
}
|
||||
}
|
||||
|
||||
s32 lv2_socket_native::create_socket()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue