wcandillon / react-native-webgpu

React Native implementation of WebGPU using Dawn
MIT License
419 stars 19 forks source link

fix: memory leak in metalViewRegistry #89

Closed okwasniewski closed 1 month ago

okwasniewski commented 2 months ago

This PR fixes a memory leak that was coming from metalViewRegistry.

Actually, it was never cleared 😅

In this PR I've changed:

Before this PR I've noticed some crashes and also metalViewRegistry was filled up with all the views that I've spawned.

wcandillon commented 2 months ago

nice 😊😊😊