aminogfx
aminogfx copied to clipboard
How to stop once started?
Once I call amino.start() can I stop() somehow in javascript? Or how can I remove items once added?
I would like to know the same thing. If I try to start and then destroy, I get an error.
var Amino = require('aminogfx-gl');
var gfx = new Amino.AminoGfx();
gfx.start(function(err) {
console.log('doing stuff');
});
gfx.destroy(true);
var gfx2 = new Amino.AminoGfx();
gfx2.start(function(err) {
console.log('doing stuff 2');
});
This gives me the error:
node: ../src/base.cpp:759: void AminoGfx::destroyAminoGfx(): Assertion 'res' failed.