summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2014-05-28 11:20:50 -0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-05-29 08:02:42 +0700
commit34599322eea3c9d2240c1c09d0f148f95612ed5a (patch)
treecc56980d6c70213bb070e2586f44cce0d9294c29 /tests
parent876ae8a8b3867f146aaf545466c6170ad5407897 (diff)
Fix a bug where a returned handle to a derived JS object would not always correctly increment the reference count of the underlying smart pointer.
Diffstat (limited to 'tests')
-rw-r--r--tests/embind/embind.test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/embind/embind.test.js b/tests/embind/embind.test.js
index a6b2e98c..432202ff 100644
--- a/tests/embind/embind.test.js
+++ b/tests/embind/embind.test.js
@@ -2410,6 +2410,7 @@ module({
var back = holder.get();
assert.equal(back, instance);
holder.delete();
+ back.delete();
});
});