Commit 954ad6754db71506ab8b352318ecc8637b7a93d4

Authored by Wesnydy Ribeiro
1 parent b742a313
Exists in master and in 1 other branch devel

Adiciona killall para matar os processos do player

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
renderer/src/renderer.cpp
... ... @@ -29,6 +29,11 @@ void Renderer::notifyListeners() {
29 29 void Renderer::executeServerScript() {
30 30 PRINTL(util::_DEBUG, "Executando o Script de inicialização do servidor\n");
31 31  
  32 + //Temporário. 'Matar' todos os processos do player.
  33 + string killcmd = "killall -9 videoCreator.x86_64";
  34 + system(killcmd.c_str());
  35 + slep(2); //tempo para matar o processo
  36 +
32 37 string command = "cd ";
33 38  
34 39 char* renderPath;
... ...