diff options
author | 2022-08-17 20:22:09 +0800 | |
---|---|---|
committer | 2022-08-17 05:22:09 -0700 | |
commit | 0aa3a0a5b04249f79b1b1bb1722ca2a38313c0d4 (patch) | |
tree | 667da145380e10066064b920b5b2d3672f407f9d /bench/react-hello-world/react-hello-world.jsx | |
parent | 77b449856d97a1965dc0d5b331ab5fe5b618e237 (diff) | |
download | bun-0aa3a0a5b04249f79b1b1bb1722ca2a38313c0d4.tar.gz bun-0aa3a0a5b04249f79b1b1bb1722ca2a38313c0d4.tar.zst bun-0aa3a0a5b04249f79b1b1bb1722ca2a38313c0d4.zip |
Fix server segfault by making controller not early GC'ed (#1090)
* Fix http server segfault by making controller not get GC'ed
* fix format
Diffstat (limited to 'bench/react-hello-world/react-hello-world.jsx')
-rw-r--r-- | bench/react-hello-world/react-hello-world.jsx | 5 |
1 files changed, 1 insertions, 4 deletions
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: { |