Skip to content

Commit 70d00a6

Browse files
committed
fix: Unify access to process variable, do not rely on window
1 parent a51b267 commit 70d00a6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/util/electron_helper.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ static inline bool hasElectronMemoryCage(const Napi::Env& env) {
2727
if (!hasRun) {
2828
if (IsElectron(env)) {
2929
auto electronVers = env.Global()
30-
.Get("window")
31-
.ToObject()
3230
.Get("process")
3331
.ToObject()
3432
.Get("versions")

0 commit comments

Comments
 (0)