| Index: remoting/webapp/crd/js/remoting.js
|
| diff --git a/remoting/webapp/crd/js/remoting.js b/remoting/webapp/crd/js/remoting.js
|
| index 97b6a1c42ea70fc2656b212538825d1e0d653230..8b534e41847dae75751b21e9e00f804a506a883b 100644
|
| --- a/remoting/webapp/crd/js/remoting.js
|
| +++ b/remoting/webapp/crd/js/remoting.js
|
| @@ -109,7 +109,7 @@ remoting.promptClose = function() {
|
| * Also clear all local storage, to avoid leaking information.
|
| */
|
| remoting.signOut = function() {
|
| - remoting.oauth2.removeCachedAuthToken(function(){
|
| + remoting.oauth2.removeCachedAuthToken().then(function(){
|
| chrome.storage.local.clear();
|
| remoting.setMode(remoting.AppMode.HOME);
|
| window.location.reload();
|
|
|