Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test whether an engine opened successfully #42

Closed
achaloyan opened this issue Jul 10, 2015 · 4 comments
Closed

Test whether an engine opened successfully #42

achaloyan opened this issue Jul 10, 2015 · 4 comments

Comments

@achaloyan
Copy link
Contributor

Originally reported on Google Code with ID 42

Hi Arsen,

I came across an issue related to engine-specific parameters you introduced
in r1079 -- many thanks. If a plugin needs some parameters from config, it
must be initialized in mrcp_engine_virtual_open(), not in
mrcp_plugin_create(). But the server does not care whether the
initialization was successful or not. You should check the return value in
mrcp_server.c:632.

Thanks.
- Vali

Reported by tomas.valenta@speechtech.cz on 2009-09-14 14:27:30

@achaloyan
Copy link
Contributor Author

Hi Vali,
I completely agree, return value must be checked and I'll have closer look at this
issue hopefully soon.
Thanks,
Arsen.

Reported by achaloyan on 2009-09-14 16:37:43

  • Status changed: Accepted
  • Labels added: Type-Defect, Priority-Medium, OpSys-All, Component-Server, Component-Plugin

@achaloyan
Copy link
Contributor Author

Hi Vali,
I addressed this issue in r1125, but seemed to forget update the status here.
Briefly, I added internal state to engine (is_open), which indicates whether engine
has been successfully opened or not. In any case engine remains in the table, but
will not be used if open method fails.

Reported by achaloyan on 2009-09-18 15:23:42

  • Status changed: Fixed

@achaloyan
Copy link
Contributor Author

Hi Arsen,
sorry for a little delay. Thank you for the patch, works as expected. Verified.
Cheers
- Vali

Reported by tomas.valenta@speechtech.cz on 2009-09-21 21:31:14

@achaloyan
Copy link
Contributor Author

Thanks

Reported by achaloyan on 2009-10-05 16:29:12

  • Status changed: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant