Skip to content

AsyncStop does not work when I use it to kill a endless loop #270

@JinQinBNU

Description

@JinQinBNU

I use the command below in vim to compile the C++ file and run it:

AsyncRun time ( cmake -DCMAKE_BUILD_TYPE=Release -B build && cmake --build build --parallel 8 ) && echo -e "------------------------------------------\n" && time ( ./bin/main $@ ) && echo -e "\n------------------------------------------"

A C++ file like this

#include<iostream>

int main(){
  while (1) {
    std::cout << "hello world" << std::endl;
  }
}

Then, the running results of the code above were shown in the Quickfix window.
Finally, I use AsyncStop, looking forward to killing the endless loop. However, it doesn't work and I have to kill vim.

So, what's the problem? I really appreciate any help you can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions