Skip to content

Commit

Permalink
fixed process.uptime()
Browse files Browse the repository at this point in the history
  • Loading branch information
Cong Liu authored and rogerwang committed Jan 11, 2017
1 parent 9dc110c commit 36f0366
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4959,6 +4959,7 @@ NODE_EXTERN void g_call_tick_callback(node::Environment* env) {

// copied beginning of Start() until v8::Initialize()
NODE_EXTERN void g_setup_nwnode(int argc, char** argv, bool worker) {
node::prog_start_time = static_cast<double>(uv_now(uv_default_loop()));
node::node_is_initialized = true;
node::node_is_nwjs = true;
node::node_isolate = v8::Isolate::GetCurrent();
Expand Down

0 comments on commit 36f0366

Please sign in to comment.