[server/pyro] try to shutdown the repository properly
If RepositoryServer.trigger_events is not called we might miss a
QuitEvent and thus never shutdown the repository and its looping tasks.
/* * cubicweb js mock for unit tests * This module defines variables and functions used in quite a few places * in cw js framework that can't be used or guessed without a real CW server */varpageid='my-page-id';function_(message){returnmessage;}