diff options
author | Dan Gudmundsson <[email protected]> | 2012-08-21 10:27:07 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2012-08-21 10:27:07 +0200 |
commit | 8a165db14fd2e2f0a3239f55f96869bdb2f2c7c5 (patch) | |
tree | a3115a1b1cf389378823b32e0762c8aa5aa0b0eb /lib/observer/src/observer_procinfo.erl | |
parent | 5c840fae80ece293a5a3fc2fc2698771d7d9d200 (diff) | |
parent | 3af8c55fb68b7047ff1f8c333528167c875c2cbc (diff) | |
download | otp-8a165db14fd2e2f0a3239f55f96869bdb2f2c7c5.tar.gz otp-8a165db14fd2e2f0a3239f55f96869bdb2f2c7c5.tar.bz2 otp-8a165db14fd2e2f0a3239f55f96869bdb2f2c7c5.zip |
Merge branch 'dgud/observer/bug-fixes/OTP-10075' into maint
* dgud/observer/bug-fixes/OTP-10075:
[observer] Fix dialyser warnings
Format latin binary strings in table viewer
Fix process_info from app tab on other nodes
Diffstat (limited to 'lib/observer/src/observer_procinfo.erl')
-rw-r--r-- | lib/observer/src/observer_procinfo.erl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/observer/src/observer_procinfo.erl b/lib/observer/src/observer_procinfo.erl index 13e41cfe33..45218c177b 100644 --- a/lib/observer/src/observer_procinfo.erl +++ b/lib/observer/src/observer_procinfo.erl @@ -127,17 +127,15 @@ terminate(_Reason, #state{parent=Parent,pid=Pid,frame=Frame}) -> ok. code_change(_, _, State) -> - {stop, not_yet_implemented, State}. + {ok, State}. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% init_process_page(Panel, Pid) -> Fields0 = process_info_fields(Pid), {FPanel, _, UpFields} = observer_lib:display_info(Panel, Fields0), - {FPanel, fun() -> case process_info_fields(Pid) of - Fields when is_list(Fields) -> - observer_lib:update_info(UpFields, Fields); - _ -> ok - end + {FPanel, fun() -> + Fields = process_info_fields(Pid), + observer_lib:update_info(UpFields, Fields) end}. init_text_page(Parent) -> |