This repository has been archived by the owner on Sep 9, 2019. It is now read-only.
forked from anru/node-rsvg
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When we get into a situation where Nan::ThrowError() needs to be called, there is no coming back. Albeit, that doesn't stop the execution of the function it is called from. Moreover, it swallows the error. This commit fixes this behaviour by making sure the function explicitly returns after throwing the error.
- Loading branch information
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters