Hi,

I'm writing a unit tests in blink and I want to check if an isolate is
disposed in a worker thread. In v8.h, v8::Isolate::GetCurrent() header
comment says

  /**
   * Returns the entered isolate for the current thread or NULL in
   * case there is no current isolate.
   *
   * This method must not be invoked before V8::Initialize() was invoked.
   */

, but in the implementation in src/isolate.h, returning null is not allowed.

Which is correct? Can I remove the DCHECK?

Thanks,

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to