junction
junction copied to clipboard
How to process memory leak?
Hi @preshing
This is a great lib!
My situation is here:
- There is a global hashmap for managing sessions;
- There are several thread to create session and insert the session to the hashmap from different threads;
- In each thread, when its work finish, the session is erased from the global hashmap;
Can you tell me:
- when to call
junction::QSBR::Context context = junction::DefaultQSBR.createContext();; - when to call
junction::DefaultQSBR.update(context);; - when to call
junction::DefaultQSBR.destroyContext(context);;
Thank you!