mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +00:00
Inspector: Allow browsing inspection data in UI after process exits
This commit is contained in:
parent
f80b40b411
commit
58abdde2e4
1 changed files with 5 additions and 1 deletions
|
@ -152,7 +152,11 @@ void RemoteProcess::update()
|
|||
|
||||
u32 length;
|
||||
int nread = m_socket->read((u8*)&length, sizeof(length));
|
||||
ASSERT(nread == sizeof(length));
|
||||
if (nread != sizeof(length)) {
|
||||
dbgln("Disconnected from PID {}", m_pid);
|
||||
m_socket->close();
|
||||
return;
|
||||
}
|
||||
|
||||
ByteBuffer data;
|
||||
size_t remaining_bytes = length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue