Merge: src/nitlight: Updated client to avoid crashes on unparsed modules
authorJean Privat <jean@pryen.org>
Tue, 17 May 2016 11:20:22 +0000 (07:20 -0400)
committerJean Privat <jean@pryen.org>
Tue, 17 May 2016 11:20:22 +0000 (07:20 -0400)
commit418f5ba93b4fd3b2859270abc737db894094b77d
tree3bbda90a36eeb5d4b7783d45678e9f58686f490f
parent6b330286b504b58172ec825ce53665f223221bed
parent1298af71e6842c91b846a0ebd41493aa59782c2b
Merge: src/nitlight: Updated client to avoid crashes on unparsed modules

Since the loader has been upgraded, `nitlight` crashed when using the `--full` option since some modules were recognized by the model but left unparsed, causing the program to crash when fetching the `AModule` from `modelbuilder.mmodule2node`.

This PR fixes the issue by rendering only loaded and parsed modules from the importation chain.

Pull-Request: #2088
Reviewed-by: Jean Privat <jean@pryen.org>