set defaultHostApiIndex_ to zero when uninitialized
This commit is contained in:
parent
ebe9c54048
commit
e0a057f28e
1 changed files with 1 additions and 0 deletions
|
|
@ -147,6 +147,7 @@ static void TerminateHostApis( void )
|
|||
hostApis_[hostApisCount_]->Terminate( hostApis_[hostApisCount_] );
|
||||
}
|
||||
hostApisCount_ = 0;
|
||||
defaultHostApiIndex_ = 0;
|
||||
deviceCount_ = 0;
|
||||
|
||||
if( hostApis_ != 0 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue