From: Siraaj Khandkar Date: Tue, 22 Sep 2015 22:08:02 +0000 (-0400) Subject: fix: handling 'undefined' from erlang:process_info/2 X-Git-Tag: 0.8.2^0 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=2cd7cf62e9b1e456c0ccc963d92a9170c3af8251;hp=2cd7cf62e9b1e456c0ccc963d92a9170c3af8251;p=beam_stats.git fix: handling 'undefined' from erlang:process_info/2 Process could die between the time we get its PID from erlang:processes() and when we start calling erlang:process_info/2 on it; or even somewhere between the process_info calls. The choice is between returning partial info (that we were able to collect before process died) and just skipping the process. For now, I'm choosing to skip the process (throwing away any partial info collected). ---