Example usage for com.intellij.openapi.vcs.impl CancellableRunnable cancel

List of usage examples for com.intellij.openapi.vcs.impl CancellableRunnable cancel

Introduction

In this page you can find the example usage for com.intellij.openapi.vcs.impl CancellableRunnable cancel.

Prototype

void cancel();

Source Link

Usage

From source file:com.google.cloud.tools.intellij.appengine.cloud.AppEngineRuntimeInstance.java

License:Apache License

@Override
public void disconnect() {
    // kill any executing deployment actions
    synchronized (createdDeployments) {
        for (CancellableRunnable runnable : createdDeployments) {
            runnable.cancel();
        }//from w ww. ja va 2s  .c  o  m
        createdDeployments.clear();
    }
}