diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-16 16:10:59 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-16 16:10:59 +0200 |
commit | 251c5e2ba0e85103c55cf31026739b2e7e9d4b90 (patch) | |
tree | d01abacb559c69fdfe3ef205a683496533da8369 /web | |
parent | b9f1c57fdd6097e776235c105c58c29f84399523 (diff) |
Implement async. comm. with Python interpreter
Creating, destroying and communicationg with the interpreter subprocess
is now handled by a thread attached to PythonSession. Interpreter is
sandboxed using libseccomp.
Diffstat (limited to 'web')
-rw-r--r-- | web/main.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/web/main.js b/web/main.js index c4c8691..03e9dad 100644 --- a/web/main.js +++ b/web/main.js @@ -137,11 +137,6 @@ var guiHandlers = { sendDataToPython(message).then(session.send, session.end).done(); }, - 'python_pull': function actionPythonPull(session, message) { - logger.debug('Received python_pull from GUI'); - sendDataToPython(message).then(session.send, session.end).done(); - }, - 'hint': function actionHint(session, message) { logger.debug('Received hint from GUI'); sendDataToPython(message).then(session.send, session.end).done(); |