109110111112113114115116117
{ // if a Shiny document is running in the viewer, stop render when the // viewer is cleared if (isShiny_) { server_.terminateRenderRmd(true, new VoidServerRequestCallback()); isShiny_ = false; } }