Skip to content

fix(DriverRemoteConnection): return the promise on close#887

Closed
elliotttf wants to merge 1 commit intoapache:masterfrom
elliotttf:fix-close-return
Closed

fix(DriverRemoteConnection): return the promise on close#887
elliotttf wants to merge 1 commit intoapache:masterfrom
elliotttf:fix-close-return

Conversation

@elliotttf
Copy link
Contributor

The jsdoc indicates that the DriverRemoteConnection.close() method returns a Promise; however, the first time the method is called it returns undefined.

The jsdoc indicates that the `DriverRemoteConnection.close()` method returns a `Promise`; however, the first time the method is called it returns `undefined`.
@jorgebay
Copy link
Contributor

jorgebay commented Jul 3, 2018

Nice catch! looks good: VOTE: +1

@jorgebay
Copy link
Contributor

jorgebay commented Jul 3, 2018

I've filed a ticket to track this bug fix: https://issues.apache.org/jira/browse/TINKERPOP-1995

When creating the ticket, I realized we should we fix this issue in all the active branches... @elliotttf do you mind basing your patch on tp32 branch?

@elliotttf
Copy link
Contributor Author

@jorgebay don't mind at all. Would you like me to keep it open against master, or reopen this against tp32?

@jorgebay
Copy link
Contributor

jorgebay commented Jul 3, 2018

Thanks!

Please reopen this one against tp32, we will merge tp32 to tp33 to master afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants