Skip to content

Commit

Permalink
Merge pull request MapServer#7162 from rouault/msProjectionContextGet…
Browse files Browse the repository at this point in the history
…FromPool_fix

msProjectionContextGetFromPool(): set thread_id to current thread
  • Loading branch information
rouault authored Oct 2, 2024
2 parents c267853 + 22828f1 commit bee04ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapproject.c
Original file line number Diff line number Diff line change
Expand Up @@ -2495,6 +2495,7 @@ projectionContext *msProjectionContextGetFromPool() {
if (headOfLinkedListOfProjContext) {
LinkedListOfProjContext *next = headOfLinkedListOfProjContext->next;
context = headOfLinkedListOfProjContext->context;
context->thread_id = msGetThreadId();
msFree(headOfLinkedListOfProjContext);
headOfLinkedListOfProjContext = next;
} else {
Expand Down

0 comments on commit bee04ef

Please sign in to comment.