Skip to content

Commit d0acc65

Browse files
: proc: instance cell: missing bind for undeliverable messages (#511)
Summary: i don't how this was overlooked but it seems to me this line of code is very obviously missing. Reviewed By: mariusae Differential Revision: D78180568
1 parent 21e99bc commit d0acc65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hyperactor/src/proc.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,8 +1519,9 @@ impl InstanceCell {
15191519
/// We should find some (better) way to consolidate the two.
15201520
pub(crate) fn bind<A: Actor, R: Binds<A>>(&self, ports: &Ports<A>) -> ActorRef<R> {
15211521
<R as Binds<A>>::bind(ports);
1522-
// All actors handle signals:
1522+
// All actors handle signals and undeliverable messages.
15231523
ports.bind::<Signal>();
1524+
ports.bind::<Undeliverable<MessageEnvelope>>();
15241525
// TODO: consider sharing `ports.bound` directly.
15251526
for entry in ports.bound.iter() {
15261527
self.inner

0 commit comments

Comments
 (0)