aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2012-12-13 14:19:45 +0100
committerHenrik Nord <[email protected]>2012-12-13 14:19:48 +0100
commit154517c09ad8ea98bb928e8d200d83d41c3077df (patch)
tree4e378300ed699e2fcbb77bcb6fdbbde98839eba6
parentb5d0403d8fedd8ca741b3c0a6ea684e72a494394 (diff)
parentb1055d66be82aec2231b1f01bd121ae61c7c837f (diff)
downloadotp-154517c09ad8ea98bb928e8d200d83d41c3077df.tar.gz
otp-154517c09ad8ea98bb928e8d200d83d41c3077df.tar.bz2
otp-154517c09ad8ea98bb928e8d200d83d41c3077df.zip
Merge branch 'pgö/tv-refresh-crash'
* pgö/tv-refresh-crash: Fix Table Viewer refresh crash on no more existing ets tables OTP-10635
-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;