Ok I found a hack to allow the Connection objects to be GCd: ```ts event.waitUntil( connection.en

Ok I found a hack to allow the Connection objects to be GCd:

event.waitUntil(
  connection.end().then(() => {
    (connection as any).connection.stream.destroy();
  })
);


I still see no console.log from the FinalizationRegistry but I think that's a platform limitation.
But this way I see only one "FinalizationRegistry created" message and the connections drop to 0 periodically.
Was this page helpful?