Skip to content

Application may crash on exit #96

Closed

Description

@aregtech

Describe the bug
In the example 13, when applications receive notification to exit, they may crash with the exception. The reason is generating response event of non exiting Proxy. In the current implementation there is a quick work around to lock the resources when generate response event.
See and track lockProxyResource() and unlockProxyResource() methods in ProxyBase class. The methods are used in RemoteEventFactory class (line 113).

Hint to fix
Use shared pointers in the resource map of ProxyBase class to avoid using a pointers of non existing objects. Pay attention on performance and optimization.

Activity

  1. self-assigned this
    on Dec 19, 2022
  2. linked a pull request that will close this issueBug/96 application may crash on exit #97on Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions