You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous statement happened to work out of sheer luck. `MainModule` is
initialized by the call to `getMainModule()`. The expression could be evaluated
in any order, and in the Visual Studio case, was evaluated with the index
*first*. At this point `MainModule` was uninitialized (fortunately, it was set
to NULL). As a result, the `getName` call would fail. Ensure that the
`MainModule` is initialized first by using a local variable.
0 commit comments