Commit d1e9892
fix: dispose loadedAnimation native resource in Blazor Lottie sample
Skottie.Animation wraps a native resource (inherits SKObject/IDisposable).
The previous DisposeAsync cancelled and awaited the loop task and disposed
the CTS, but never disposed loadedAnimation, leaking native memory on every
page navigation.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 9e33405 commit d1e9892
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
0 commit comments