frenetic-lang / pyretic

The Pyretic language and runtime system
http://frenetic-lang.org/pyretic/
159 stars 99 forks source link

Check if backend is valid during shutdown #45

Closed JamesGuthrie closed 9 years ago

JamesGuthrie commented 9 years ago

In frontend-only mode the backend is initialized to None, so calling its kill() member function fails.

Fixes frenetic-lang/pyretic#31.

Signed-off-by: James Guthrie james@prodigi.ch

joshreich commented 9 years ago

Seems obviously correct, am merging w/o testing