From d1809a6a7cc1c8363efbfc6332d08383a6e72880 Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Fri, 27 Jan 2017 12:45:54 -0500 Subject: [PATCH] crash changes --- src/buzz_update.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/buzz_update.cpp b/src/buzz_update.cpp index 7b2a568..833545e 100644 --- a/src/buzz_update.cpp +++ b/src/buzz_update.cpp @@ -269,6 +269,7 @@ buzzvm_pushs(VM, buzzvm_string_register(VM, "update_no", 1)); uint16_t update_no =*(uint16_t*)(updater->update_no); *(uint16_t*)(updater->update_no) =update_no +1; code_message_outqueue_append(); + VM = buzz_utility::get_vm(); fprintf(stdout,"Update no %d\n", *(uint16_t*)(updater->update_no)); buzzvm_pushs(VM, buzzvm_string_register(VM, "update_no", 1)); buzzvm_pushi(VM, *(uint16_t*)updater->update_no);