refactor to use destroy method

This commit is contained in:
Timo K
2026-01-15 19:04:32 +01:00
parent f71e483080
commit 9b40d7420a
5 changed files with 28 additions and 39 deletions

View File

@@ -527,12 +527,8 @@ export function createCallViewModel$(
connectOptions$.value,
);
},
createPublisherFactory: (
scope: ObservableScope,
connection: Connection,
) => {
createPublisherFactory: (connection: Connection) => {
return new Publisher(
scope,
connection,
mediaDevices,
muteStates,