Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
f5ffb40e
Commit
f5ffb40e
authored
Apr 17, 2015
by
Jeff Hostetler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also fix leak of TLS data on main thread.
parent
55c5f756
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
src/global.c
+1
-4
No files found.
src/global.c
View file @
f5ffb40e
...
...
@@ -223,13 +223,10 @@ int git_libgit2_init(void)
static
void
synchronized_threads_shutdown
(
void
)
{
void
*
ptr
;
/* Shut down any subsystems that have global state */
git__shutdown
();
ptr
=
TlsGetValue
(
_tls_index
);
git__global_state_cleanup
(
ptr
);
git__free_thread_global_state
();
TlsFree
(
_tls_index
);
git_mutex_free
(
&
git__mwindow_mutex
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment