beremiz

fix bug with unfinished debug thread

2017-08-28, Surkov Sergey
c2f48d791d9f
fix bug with unfinished debug thread
this bug occurs when user doesn't stop debugging process in current project, and opens another project
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self, func):
self.methods[func.__name__] = func
return func