From e4cbd588215e0860698214e2cc55713fa69d6458 Mon Sep 17 00:00:00 2001
From: Julia Johannesen <julia@insertdomain.name>
Date: Sun, 22 Sep 2024 18:51:29 -0400
Subject: [PATCH] Remove superfluous `DetachedWindowAPI.close` call

---
 packages/backend/src/core/activitypub/ApRequestService.ts | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/packages/backend/src/core/activitypub/ApRequestService.ts b/packages/backend/src/core/activitypub/ApRequestService.ts
index 8cf1f9066f..0b9139db90 100644
--- a/packages/backend/src/core/activitypub/ApRequestService.ts
+++ b/packages/backend/src/core/activitypub/ApRequestService.ts
@@ -241,9 +241,6 @@ export class ApRequestService {
 				if (alternate) {
 					const href = alternate.getAttribute('href');
 					if (href) {
-						// Since this early exits, we need to call DetachedWindowAPI.close
-						await window.happyDOM.close();
-
 						return await this.signedGet(href, user, false);
 					}
 				}