Fix WITH-LOCK: The previous version called RELEASE-LOCK in the before
thunk. Noted by Taylor Campbell.
This commit is contained in:
parent
05e38a42da
commit
52ac78e0aa
1
RELEASE
1
RELEASE
|
@ -207,6 +207,7 @@ We manage the project using SourceForge:
|
|||
expressions and is therefore no longer supported.
|
||||
|
||||
** Bug fixes
|
||||
Fix WITH-LOCk
|
||||
Ensure that the exit value is 1 if scsh exits due to an error
|
||||
Load the package scheme-with-scsh before dumping images to get
|
||||
better start-up times
|
||||
|
|
1
Thanks
1
Thanks
|
@ -29,3 +29,4 @@ Post-0.5.2-release bug reports:
|
|||
Stephen Ma
|
||||
stktrc
|
||||
Jan Alleman
|
||||
Taylor Campbell
|
|
@ -132,7 +132,7 @@
|
|||
(define (with-lock lock thunk)
|
||||
(dynamic-wind
|
||||
(lambda ()
|
||||
(release-lock lock))
|
||||
(obtain-lock lock))
|
||||
thunk
|
||||
(lambda ()
|
||||
(release-lock lock))))
|
||||
|
|
Loading…
Reference in New Issue