Fix a NULL reference error if successfulApiContext is unassigned
Fix a NULL reference error if successfulApiContext is unassigned

nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner