fix: crash in utilityProcess when generating code from strings (#38014)

This commit is contained in:
Robo 2023-04-20 09:27:02 +09:00 committed by GitHub
parent f12e12b341
commit 0240f6664e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 72 additions and 48 deletions

View file

@ -17,6 +17,9 @@ void EmitWarning(node::Environment* env,
const std::string& warning_msg,
const std::string& warning_type);
bool IsBrowserProcess();
bool IsRendererProcess();
} // namespace electron
#endif // ELECTRON_SHELL_COMMON_PROCESS_UTIL_H_