Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

smalloc: check if obj has external data #8655

Closed
wants to merge 1 commit into from
Closed

smalloc: check if obj has external data #8655

wants to merge 1 commit into from

Conversation

vkurchatkin
Copy link

+fixed couple of tests

/cc @trevnorris

@@ -314,11 +314,15 @@ for (var i = 0; i < 5; i++)

// only allow object to be passed to dispose
assert.throws(function() {
alloc.dispose(null);
smalloc.dispose(null);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha, epic. nice find. guess I should have explicitly checked the throw type/message.

trevnorris pushed a commit that referenced this pull request Nov 5, 2014
PR-URL: #8655
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
@trevnorris
Copy link

Thanks much. Merged in f65a5cb.

@trevnorris trevnorris closed this Nov 5, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants