Skip to content
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

[kotlinx-io] Posix errors top lvl variables should be @SharedImmutable #1544

Closed
IgorKey opened this issue Jan 2, 2020 · 2 comments
Closed
Labels

Comments

@IgorKey
Copy link

IgorKey commented Jan 2, 2020

Ktor Version and Engine Used (client or server and name)
1.3.0-rc native part

Describe the bug
Can't use PosixErrros.kt from non main thread.

To Reproduce
try to implement
throw PosixException.forErrno(error, "accept()") as example in tests from non-main thread

@IgorKey IgorKey added the bug label Jan 2, 2020
@cy6erGn0m
Copy link
Contributor

Could you please try it with 1.3.0-rc2 ?

@e5l e5l assigned e5l and unassigned e5l Jan 15, 2020
@e5l
Copy link
Member

e5l commented Jan 15, 2020

Should work in 1.3.0

@e5l e5l closed this as completed Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants