Closed stLmpp closed 1 year ago
This PR fixes a memory leak on the client side. If you navigate away from a page that uses the "initFlash" function, the page subscription will never finish and for every form action with the "use:enhance" it will throw an error:
I created a repro: https://github.com/stLmpp/flash-svelte-page-subscription
Thank you! Will merge and release a patch soon.
This PR fixes a memory leak on the client side. If you navigate away from a page that uses the "initFlash" function, the page subscription will never finish and for every form action with the "use:enhance" it will throw an error:
I created a repro: https://github.com/stLmpp/flash-svelte-page-subscription