Switching now handles callbacks correctly.
This commit is contained in:
parent
18a77fa2ef
commit
c0d6404186
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user