fixed problem with weak table pair removals - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/window.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2010年08月29日 23:01:21 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2010年08月29日 23:01:21 +0200
commit176e096a8e6923c06395ba3668eb38c69257116b (patch)
tree8cb4ee3f2200fef1150ee28aef815dbaad72c84c /agg-plot/window.cpp
parent32cb1ed9940cbfb02fc1fc73ef2e73a2b30e516b (diff)
downloadgsl-shell-176e096a8e6923c06395ba3668eb38c69257116b.tar.gz
fixed problem with weak table pair removals
Diffstat (limited to 'agg-plot/window.cpp')
-rw-r--r--agg-plot/window.cpp 7
1 files changed, 1 insertions, 6 deletions
diff --git a/agg-plot/window.cpp b/agg-plot/window.cpp
index dbd2a24c..c45d3bc8 100644
--- a/agg-plot/window.cpp
+++ b/agg-plot/window.cpp
@@ -319,13 +319,8 @@ window_slot_update (lua_State *L)
if (win->status == canvas_window::running)
{
win->draw_slot(slot_id, true);
- win->unlock();
- }
- else
- {
- win->unlock();
- luaL_error (L, "window is not running");
}
+ win->unlock();
return 0;
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月14日 10:49:25 +0000

AltStyle によって変換されたページ (->オリジナル) /