LightGBM icon indicating copy to clipboard operation
LightGBM copied to clipboard

RAII enable

Open guolinke opened this issue 10 years ago • 3 comments

We have enabled the exception handle due to the need of error message for c_api. However, There still are many raw pointers in the project. Some pointers may not could free its resource while exception occurs. For the better robustness, I think we need RAII now.

guolinke avatar Nov 14 '16 08:11 guolinke

Lets' create a new branch for the re-construct

chivee avatar Nov 14 '16 09:11 chivee

refer to #86

guolinke avatar Nov 17 '16 13:11 guolinke

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

github-actions[bot] avatar Aug 24 '23 04:08 github-actions[bot]