Changeset 7716
- Timestamp:
- May 22, 2019, 8:35:16 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/SessionControl.java
r7703 r7716 2666 2666 } 2667 2667 2668 protected void cleanUp()2669 {2670 if (!isClosed() && isLoggedIn()) logout();2671 }2672 2673 /**2674 Clean up if a bad client application forgets to logout.2675 */2676 @SuppressWarnings("deprecation")2677 @Override2678 protected void finalize()2679 throws Throwable2680 {2681 try2682 {2683 cleanUp();2684 }2685 catch (Throwable t)2686 {2687 log.warn("Exception during SessionControl.finalize()", t);2688 }2689 super.finalize();2690 }2691 2692 2668 /** 2693 2669 Internal class to hold information about the logged in user.
Note: See TracChangeset
for help on using the changeset viewer.