fix: crash in utilityProcess when generating code from strings (#38014)
This commit is contained in:
parent
f12e12b341
commit
0240f6664e
14 changed files with 72 additions and 48 deletions
|
@ -21,12 +21,6 @@ class Locker {
|
|||
Locker(const Locker&) = delete;
|
||||
Locker& operator=(const Locker&) = delete;
|
||||
|
||||
// Returns whether current process is browser process, currently we detect it
|
||||
// by checking whether current has used V8 Lock, but it might be a bad idea.
|
||||
static inline bool IsBrowserProcess() { return g_is_browser_process; }
|
||||
|
||||
static void SetIsBrowserProcess(bool is_browser_process);
|
||||
|
||||
private:
|
||||
void* operator new(size_t size);
|
||||
void operator delete(void*, size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue