Switching now handles callbacks correctly.

master
Philippe PITTOLI 2024-06-17 00:14:48 +02:00
parent 18a77fa2ef
commit c0d6404186
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ pub const SwitchDB = struct {
var managedconnection = self.db.get(fd) orelse return error.unregisteredFD;
managedconnection.in = in;
managedconnection.out = out;
try self.db.put(fd, managedconnection);
}
/// Dig the "db" hashmap, perform "in" fn, may provide a message.