From 0aa3a0a5b04249f79b1b1bb1722ca2a38313c0d4 Mon Sep 17 00:00:00 2001
From: Zilin Zhu <zhuzilinallen@gmail.com>
Date: Wed, 17 Aug 2022 20:22:09 +0800
Subject: Fix server segfault by making controller not early GC'ed (#1090)

* Fix http server segfault by making controller not get GC'ed

* fix format
---
 bench/react-hello-world/react-hello-world.jsx | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'bench/react-hello-world/react-hello-world.jsx')

diff --git a/bench/react-hello-world/react-hello-world.jsx b/bench/react-hello-world/react-hello-world.jsx
index 4c3fc5967..9391963c3 100644
--- a/bench/react-hello-world/react-hello-world.jsx
+++ b/bench/react-hello-world/react-hello-world.jsx
@@ -1,7 +1,4 @@
-// import { renderToReadableStream } from "react-dom/server.browser";
-var { renderToReadableStream } = import.meta.require(
-  "../../test/bun.js/reactdom-bun.js"
-);
+import { renderToReadableStream } from "react-dom/server.browser";
 
 const headers = {
   headers: {
-- 
cgit v1.2.3

