question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gui.App.clearCache() freez apllication nwjs 0.18.0

See original GitHub issue

Fedora 24 nwjs 0.18.0 Ctrl+Shift+C indeed deleted the cache files but also freez applications Any idea how fix it?

with nwjs 0.17.6 works like charm

const gui = window.require('nw.gui');

var clearCache = {
    key : "Ctrl+Shift+C",
    active : function() {
        gui.App.clearCache();
    },
    failed : function(msg) {
        console.log(msg);
    }
};

var clearCacheShortcut = new gui.Shortcut(clearCache);

gui.App.registerGlobalHotKey(clearCacheShortcut);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rogerwangcommented, Oct 17, 2016

Yeah. There’s 0.18.1 scheduled tomorrow.

On Mon, Oct 17, 2016, 9:52 PM Ashley (Scirra) notifications@github.com wrote:

Thanks for the quick fix. Do you think this justifies a .1 release? I feel a bit nervous about sending out a nightly build to production.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/nwjs/nw.js/issues/5368#issuecomment-254213526, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKGGU-E0FgC1toF9oO7vfUPq2JsEWcvks5q0321gaJpZM4KYaLj .

0reactions
AshleyScirracommented, Oct 17, 2016

Awesome 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

App - NW.js Documentation
Clear the HTTP cache in memory and the one on disk. This method call is synchronized. App.clearAppCache(manifest_url). Mark the Application cache group ...
Read more >
Node Webkit clear cache - Stack Overflow
gui.APP.clearCache() is working for me. Potentially this is due to an update to NW. I am running 0.11.5. Also this answer appears ...
Read more >
CHANGELOG.md · nw-v0.23.0-beta1 · mirrors / rogerwang / node ...
Chromium updated to 28.0.1500.11. A new feature "Devtools jail" is introduced for IDE developers. A new API function App.clearCache() is added to clear...
Read more >
Compare Packages Between Distributions - DistroWatch.com
App -cpanminus 1.704.400. App-FatPacker 0.10.8. App-Nopaste 1.13.0 ... CGI-Application-Plugin-Redirect 1.0.0 ... HTTP-Cache-Transparent 1.400.0
Read more >
all-packages.nix - GitHub
applications /version-management/git-annex-metadata-gui { inherit ... development/libraries/cloog/0.18.0.nix { isl = isl_0_11; }; cloogppl = callPackage .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found