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.

Files are removed when app is (force) closed

See original GitHub issue

I have the issue, that recently downloaded files are getting “removed” when i kick the app. (remove the app from recents)

so i start downloading some files. the files are present in their destination directory. then i kick the app and the files are gone in the directory. BUT i have the *.temp version in the destination directory.

i’m using process.non-separate=true, could it affect this?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
chriswiesnercommented, Sep 24, 2016

it doesn’t apply for all files. i downloaded 30 files in parallel and 5-6 (i guess the most recent downloaded) of those have this issue.

i checked the download directory and all files were properly stored. (so no *.temp files). but if i kick the app then, these recent downloads get somehow “renamed” to their *.temp version

i will try to setup a demo project

0reactions
Jacksgongcommented, Sep 27, 2016

Okey.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why doesn't my application release files on .close() so they ...
This code "attempts" to delete the files contained in the 'temp' folder during clean up if there were files contained in the XML....
Read more >
Force stop and clear cache: Here's what you need to know
After the app has been killed, the next step is to delete the data in the cache directory. When an application needs a...
Read more >
Uninstall/Remove.xml (force close apps) - Microsoft Community
Regarding click to run deployment of Office365, I have created 3 XML files. download,xml. configuration.xml and uninstall.xml. In order to ...
Read more >
How to Delete a File in Use by Another Program in Windows 10
1. Close the Program · 2. Reboot your computer · 3. End the Application via the Task Manager · 4. Change File Explorer...
Read more >
How to force an app to quit on your Mac - Apple Support
To quit a Mac app normally, choose Quit from the app's menu in the menu bar, or press Command-Q. If the app doesn't...
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