Skip to content

Commit 493b760

Browse files
authored
Merge pull request #2032 from appwrite/fix-leaking-realtime
Fix: leaking realtime event
2 parents cfd82b2 + 4d3355e commit 493b760

File tree

1 file changed

+2
-2
lines changed
  • src/routes/(console)/project-[region]-[project]/sites/create-site/deploying

1 file changed

+2
-2
lines changed

src/routes/(console)/project-[region]-[project]/sites/create-site/deploying/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
1818
let deployment = $state(data.deployment);
1919
20-
onMount(async () => {
21-
sdk.forConsole.client.subscribe(
20+
onMount(() => {
21+
return sdk.forConsole.client.subscribe(
2222
'console',
2323
async (response: RealtimeResponseEvent<Models.Deployment>) => {
2424
if (

0 commit comments

Comments
 (0)