-rw-r--r-- | agg-plot/lua-plot.cpp | 1 |
diff --git a/agg-plot/lua-plot.cpp b/agg-plot/lua-plot.cpp index 3322662f..68d71559 100644 --- a/agg-plot/lua-plot.cpp +++ b/agg-plot/lua-plot.cpp @@ -463,6 +463,7 @@ agg_plot_show (lua_State *L) pthread_attr_destroy (attr); mlua_window_unref(L, p->id); p->id = -1; + AGG_UNLOCK(); return luaL_error(L, "error creating thread."); } |