winport:
- fix crash when close the input config dialog and on exit (on systems where no feedback game devices);
This commit is contained in:
parent
45ee9f6bb5
commit
c4a0542ad3
|
@ -465,9 +465,12 @@ INPUTCLASS::~INPUTCLASS()
|
|||
}
|
||||
|
||||
if (pJoystick != NULL)
|
||||
{
|
||||
if (pEffect)
|
||||
{
|
||||
pEffect->Stop();
|
||||
pEffect->Release();
|
||||
}
|
||||
pJoystick->Unacquire();
|
||||
pJoystick->Release();
|
||||
pJoystick = NULL;
|
||||
|
|
Loading…
Reference in New Issue