diff nodejs/mbfly_njs.cc @ 1040:22e5cf38d8e8 refine_backend_if

Timer manager for njs
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 23 Nov 2010 10:59:30 +0800
parents 176cba3ad32c
children 18256f404193
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc	Tue Nov 23 10:12:49 2010 +0800
+++ b/nodejs/mbfly_njs.cc	Tue Nov 23 10:59:30 2010 +0800
@@ -171,6 +171,8 @@
     xnjsmb_auto_mb_rt_init();
     xnjsmb_auto_mb_rt_display_init();
     xnjsmb_auto_mb_rt_with_win_init();
+    X_njs_MB_reg_timer_man();
+    X_njs_MB_reg_IO_man();
 
     /*
      * Add properties to mb_rt templates for other modules.
@@ -185,7 +187,6 @@
 		xnjsmb_auto_mb_rt_temp->GetFunction());
     target->Set(String::New("mb_rt_with_win"),
 		xnjsmb_auto_mb_rt_with_win_temp->GetFunction());
-    X_njs_MB_reg_IO_man();
 }
 
 /* @} */