-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seq IndexDefect leaks memeory in arc
and orc
#23715
Comments
Isn't it the same as #23714? |
@alex65536 #23714 does not "leak" even if I do multiple # with one try except
try:
var a = @[0]
a[1] = 0 # <-- IndexDefect
except Defect as err:
echo "defect: ", err.msg
# with two try except
try:
var a = @[0]
a[1] = 0 # <-- IndexDefect
except Defect as err:
echo "defect: ", err.msg
try:
var a = @[0]
a[1] = 0 # <-- IndexDefect
except Defect as err:
echo "defect: ", err.msg
|
Oh, this is a valid issue indeed :) Even though catching |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Seq IndexDefect leaks memeory in
arc
andorc
.Wrapping it in a proc does not help
Nim Version
Nim Compiler Version 2.1.1 [Linux: amd64]
Compiled at 2024-06-12
Copyright (c) 2006-2024 by Andreas Rumpf
git hash: 0b5a938
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
refc
does not leak.The text was updated successfully, but these errors were encountered: