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

How do you stop the server in the REPL? #32

Open
sbromberger opened this issue Jan 6, 2015 · 3 comments
Open

How do you stop the server in the REPL? #32

sbromberger opened this issue Jan 6, 2015 · 3 comments

Comments

@sbromberger
Copy link

julia> start(app,8000)
Morsel is listening on 8000...

^C doesn't terminate it. At this time, I have to kill the REPL to stop the server.

@cwiese
Copy link

cwiese commented Jan 28, 2015

I have the same question.

@yfractal
Copy link
Contributor

Here,
It called @async process_client(.....)
and in process_client it did "try, catch , rethrow" things.

When we type "ctrl + c", it is a error. But it hasn't been throw (immediately) up somehow ...

The code below will produce similar problem ("ctrl + c" cause the code stop, but not immediately), please try this.

function inter()
    try
    catch e
        rethrow()
    end
end

function async_inter()
    while true
        @async inter()
    end
end

async_inter()

@StefanKarpinski
Copy link
Contributor

Also encountering this. cc: @JeffBezanson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants