Skip to content

Commit

Permalink
fml
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed Dec 23, 2023
1 parent 41fc60e commit 2f22d23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mirrord/layer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ fn enable_hooks(enabled_file_ops: bool, enabled_remote_dns: bool, patch_binaries
/// **DON'T ADD LOGS HERE SINCE CALLER MIGHT CLOSE STDOUT/STDERR CAUSING THIS TO CRASH**
pub(crate) fn close_layer_fd(fd: c_int) {
// Remove from sockets.
tracing::debug!("closing {fd}");
if let Some((_, socket)) = SOCKETS.remove(&fd) {
// Closed file is a socket, so if it's already bound to a port - notify agent to stop
// mirroring/stealing that port.
Expand Down

0 comments on commit 2f22d23

Please sign in to comment.