awslabs / aws-crt-nodejs

NodeJS bindings for the AWS Common Runtime.
Apache License 2.0
40 stars 27 forks source link

Throw exception if the native addon init gets called more than once. #290

Closed bretambrose closed 2 years ago

bretambrose commented 2 years ago

Better than hard crash. We must figure out the right way to handle this eventually

https://github.com/awslabs/aws-crt-nodejs/issues/286

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.