aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/src/observer_backend.erl
diff options
context:
space:
mode:
authorPeti Gömöri <[email protected]>2012-11-08 12:30:46 +0100
committerHenrik Nord <[email protected]>2012-11-22 11:06:10 +0100
commitb1055d66be82aec2231b1f01bd121ae61c7c837f (patch)
tree16cf60023305b5baa2aeb82a4ee45153d4b8bf3a /lib/runtime_tools/src/observer_backend.erl
parent3b29d36e9300d90e84b2ab751eeb5a2a0a332f6b (diff)
downloadotp-b1055d66be82aec2231b1f01bd121ae61c7c837f.tar.gz
otp-b1055d66be82aec2231b1f01bd121ae61c7c837f.tar.bz2
otp-b1055d66be82aec2231b1f01bd121ae61c7c837f.zip
Fix Table Viewer refresh crash on no more existing ets tables
Diffstat (limited to 'lib/runtime_tools/src/observer_backend.erl')
-rw-r--r--lib/runtime_tools/src/observer_backend.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/runtime_tools/src/observer_backend.erl b/lib/runtime_tools/src/observer_backend.erl
index 01e99f3f5e..9498412505 100644
--- a/lib/runtime_tools/src/observer_backend.erl
+++ b/lib/runtime_tools/src/observer_backend.erl
@@ -83,7 +83,7 @@ get_table2(Parent, Table, Type) ->
ets -> ets:info(Table, size);
mnesia -> mnesia:table_info(Table, size)
end,
- case Size > 0 of
+ case Size =/= undefined andalso Size > 0 of
false ->
Parent ! {self(), '$end_of_table'},
normal;