| Index: remoting/webapp/crd/js/remoting.js
|
| diff --git a/remoting/webapp/crd/js/remoting.js b/remoting/webapp/crd/js/remoting.js
|
| index 7fb70e53bc6e20eda0e13a513576b2dc1da5da44..bc23d7ce367509de612a192092329144717c93cb 100644
|
| --- a/remoting/webapp/crd/js/remoting.js
|
| +++ b/remoting/webapp/crd/js/remoting.js
|
| @@ -110,7 +110,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();
|
|
|