Skip to content

How to process memory leak? #54

@poor1017

Description

@poor1017

Hi @preshing

This is a great lib!

My situation is here:

  1. There is a global hashmap for managing sessions;
  2. There are several thread to create session and insert the session to the hashmap from different threads;
  3. In each thread, when its work finish, the session is erased from the global hashmap;

Can you tell me:

  1. when to call junction::QSBR::Context context = junction::DefaultQSBR.createContext();;
  2. when to call junction::DefaultQSBR.update(context);;
  3. when to call junction::DefaultQSBR.destroyContext(context);;

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions