Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ACM in JavaScript #2312

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Remove ACM in JavaScript #2312

merged 2 commits into from
Jun 19, 2024

Conversation

pepone
Copy link
Member

@pepone pepone commented Jun 18, 2024

Remove ACM in JavaScript - Similar to C# #2202

@pepone pepone requested a review from bernardnormier June 18, 2024 16:32
Copy link
Member

@bernardnormier bernardnormier left a comment

Choose a reason for hiding this comment

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

Looks good.

@@ -527,7 +433,7 @@ export class ConnectionI {
sendNoResponse() {
Debug.assert(this._state > StateNotValidated);
try {
if (--this._dispatchCount === 0) {
if (--this._upcallCount === 0) {
Copy link
Member

Choose a reason for hiding this comment

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

You're still calling reap() (removed method) in the code below.

if (this._state === StateFinished) {
this.reap();
if (this._removeFromFactory !== null) {
Copy link
Member

Choose a reason for hiding this comment

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

I believe _removeFromFactory is always non-null in JS.

Copy link
Member

Choose a reason for hiding this comment

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

In other languages, it's null only for incoming UDP connections.

@pepone pepone merged commit ea346ec into zeroc-ice:main Jun 19, 2024
14 of 15 checks passed
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
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