diff options
author | Henrik Nord <[email protected]> | 2012-12-13 14:19:45 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-12-13 14:19:48 +0100 |
commit | 154517c09ad8ea98bb928e8d200d83d41c3077df (patch) | |
tree | 4e378300ed699e2fcbb77bcb6fdbbde98839eba6 | |
parent | b5d0403d8fedd8ca741b3c0a6ea684e72a494394 (diff) | |
parent | b1055d66be82aec2231b1f01bd121ae61c7c837f (diff) | |
download | otp-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.erl | 2 |
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; |