Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Oct 28, 2024
1 parent 18429bd commit 1a84264
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions js/src/Ice/ObjectAdapterFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ export class ObjectAdapterFactory {
}

createObjectAdapter(name, router, promise) {
if (this._instance === null) {
throw new CommunicatorDestroyedException();
}

let adapter = null;
try {
if (name.length === 0) {
Expand All @@ -57,10 +53,6 @@ export class ObjectAdapterFactory {
}

removeObjectAdapter(adapter) {
if (this._instance === null) {
return;
}

let n = this._adapters.indexOf(adapter);
if (n !== -1) {
this._adapters.splice(n, 1);
Expand Down

0 comments on commit 1a84264

Please sign in to comment.