mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Fix crash when a table viewer in the observer application attempts
to refresh an ETS table which no longer exists. Submitted by: Peti Gomori on erlang-patches Feature safe: yes
This commit is contained in:
parent
3bcd3fdd25
commit
bfe3323fa3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307862
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= erlang
|
||||
PORTVERSION= 15.b.02
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= lang parallel java
|
||||
MASTER_SITES= http://www.erlang.org/download/:erlangorg \
|
||||
|
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- lib/runtime_tools/src/observer_backend.erl.orig
|
||||
+++ lib/runtime_tools/src/observer_backend.erl
|
||||
@@ -83,7 +83,7 @@
|
||||
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;
|
Loading…
Reference in New Issue
Block a user