-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use 'defer' mechanism to close log and project
Currently the main program closes the log files and the project explicitly. That isn't a problem, but it doesn't scale well if additional things need to be released. In order to improve that this patch changes the main prograim so that it uses the 'defer' mechanism, which will be easier to use inf later patches that will need to release other resources. Change-Id: I033bd3440309de25d6a4ffaad53787a744adfec6 Signed-off-by: Juan Hernandez <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters