X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=common.cc;h=f4aa7ecefa023417c7eec4680e38e1c25a5cc13b;hb=32de2bfc3e9c027730e174614e46010121d09215;hp=20102b0bba76ecee78f3491302b5768967c482a2;hpb=d596a0e422232c82e01fe266ca2099d0eff5de0f;p=model-checker.git diff --git a/common.cc b/common.cc index 20102b0..f4aa7ec 100644 --- a/common.cc +++ b/common.cc @@ -49,5 +49,6 @@ void model_assert(bool expr, const char *file, int line) printf(" [BUG] Program has hit assertion in file %s at line %d\n", file, line); model->set_assert(); + model->switch_to_master(NULL); } }