Remove superfluous DetachedWindowAPI.close call
This commit is contained in:
@@ -241,9 +241,6 @@ export class ApRequestService {
|
|||||||
if (alternate) {
|
if (alternate) {
|
||||||
const href = alternate.getAttribute('href');
|
const href = alternate.getAttribute('href');
|
||||||
if (href) {
|
if (href) {
|
||||||
// Since this early exits, we need to call DetachedWindowAPI.close
|
|
||||||
await window.happyDOM.close();
|
|
||||||
|
|
||||||
return await this.signedGet(href, user, false);
|
return await this.signedGet(href, user, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user