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 Dec 11, 2016
1 parent c720fd6 commit c183b55
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 @@ -4930,6 +4930,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 c183b55

Please sign in to comment.