[RTL] Do not mess with critical section lock when there is no reason to.
authorJérôme Gardou <jerome.gardou@reactos.org>
Fri, 29 Jan 2021 17:15:17 +0000 (18:15 +0100)
committerJérôme Gardou <jerome.gardou@reactos.org>
Fri, 29 Jan 2021 17:18:09 +0000 (18:18 +0100)
commit2486558ae1d15e878e2df4d067858a710f168580
treefdc58ba394f35dd2bb0dbdf28fc867b951640a79
parent6d697561f0ae70875858c808f14c20ab2602f6d5
[RTL] Do not mess with critical section lock when there is no reason to.

 - When process is shutting down.
 - When the caller is so drunk that they leave twice the pub altough they entered it only once.
sdk/lib/rtl/critical.c