Switching now handles callbacks correctly.
This commit is contained in:
parent
18a77fa2ef
commit
c0d6404186
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ pub const SwitchDB = struct {
|
||||||
var managedconnection = self.db.get(fd) orelse return error.unregisteredFD;
|
var managedconnection = self.db.get(fd) orelse return error.unregisteredFD;
|
||||||
managedconnection.in = in;
|
managedconnection.in = in;
|
||||||
managedconnection.out = out;
|
managedconnection.out = out;
|
||||||
|
try self.db.put(fd, managedconnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Dig the "db" hashmap, perform "in" fn, may provide a message.
|
/// Dig the "db" hashmap, perform "in" fn, may provide a message.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue