Skip to content

Commit

Permalink
feat: Add kill single process[524966]
Browse files Browse the repository at this point in the history
  • Loading branch information
Greedysky committed Sep 15, 2021
1 parent ae982ba commit 7440f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTKThirdParty/TTKDumper/miniprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void killProcessByName(const QString &process)
void killProcessByName(const QStringList &processes)
{
QStringList list(getProcessList());
for(const QString &process : qAsConst(b))
for(const QString &process : qAsConst(processes))
{
if(list.contains(process) && killProcess(process.toStdWString().c_str()))
{
Expand Down

0 comments on commit 7440f27

Please sign in to comment.