Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pcmoritz committed Oct 29, 2016
1 parent 4db94cc commit 1fa68ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plasma/plasma_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,13 @@ void process_object_notification(event_loop *loop,
object_id obj_id;
/* Read the notification from Plasma. */
int n = recv(client_sock, &obj_id, sizeof(object_id), MSG_WAITALL);
if (n == 0) {
/* The store has closed the socket. */
LOG_DEBUG("The plasma store has closed the object notification socket.");
event_loop_remove_file(loop, client_sock);
close(client_sock);
return;
}
CHECK(n == sizeof(object_id));
/* Add object to locally available object. */
/* TODO(pcm): Where is this deallocated? */
Expand Down

0 comments on commit 1fa68ac

Please sign in to comment.