| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -163,6 +163,13 @@ bool CSourcePython::Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn | |||
| 163 | 163 | ||
| 164 | 164 | IVEngineServer* engine = (IVEngineServer*)interfaceFactory(INTERFACEVERSION_VENGINESERVER, NULL); | |
| 165 | 165 | ||
| 166 | + // Was the IVEngineServer interface retrieved properly? | ||
| 167 | + if (!engine) | ||
| 168 | + { | ||
| 169 | + Msg(MSG_PREFIX "Unable to retrieve IVEngineServer interface.\n"); | ||
| 170 | + return false; | ||
| 171 | + } | ||
| 172 | + | ||
| 166 | 173 | // ------------------------------------------------------------------ | |
| 167 | 174 | // Build path to python engines directory. | |
| 168 | 175 | // ------------------------------------------------------------------ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments