Avoid resolving after ject has been called
Avoid resolving after ject has been called

This should never cause issues as the ES spec guarantees promises
that are resolved/rejected can't be resolved or rejected again,
however this is such a small change and is a bit more complete/safe

bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js,bugsnag/bugsnag-js