wingo / pictie

C++-to-webassembly testbed, in the form of a simple graphics library
Other
14 stars 0 forks source link

Ensure there are no memory leaks #3

Open wingo opened 5 years ago

wingo commented 5 years ago

Right now, Pictie doesn't clean up when JavaScript creates C++ objects. We should add some cleanup but we should also add support for finalizers, as a backstop. See https://github.com/tc39/proposal-weakrefs for more details.

wingo commented 5 years ago

See https://github.com/emscripten-core/emscripten/pull/8474.