Fixed NWM not responding

This commit is contained in:
Hamish Milne 2020-04-16 20:44:25 +01:00
parent 824453b133
commit d6c84227d8

View File

@ -552,8 +552,7 @@ boost::optional<Network::MacAddress> NWM_UDS::GetNodeMacAddress(u16 dest_node_id
void NWM_UDS::Shutdown(Kernel::HLERequestContext& ctx) { void NWM_UDS::Shutdown(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp(ctx, 0x03, 0, 0); IPC::RequestParser rp(ctx, 0x03, 0, 0);
if (auto room_member = Network::GetRoomMember().lock()) initialized = false;
room_member->Unbind(wifi_packet_received);
for (auto bind_node : channel_data) { for (auto bind_node : channel_data) {
bind_node.second.event->Signal(); bind_node.second.event->Signal();