Skip to content

Commit

Permalink
RHBPMS-4801 - InMemorySessionFactory has apparent memory leak (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
mswiderski authored and Tihomir Surdilovic committed Jul 5, 2017
1 parent 7be34b6 commit d5a8ee3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@ public interface SessionFactory {
* Closes the factory and releases all resources
*/
void close();

/**
* Invoked when runtime engine is about to be disposed
* @param sessionId ksession id that is disposed.
*/
void onDispose(Long sessionId);
}

0 comments on commit d5a8ee3

Please sign in to comment.