NativeScript / NativeScript/nativescript-cli
Not freeing CPU usage after termination, will max out computer's CPU
@rosen-vladimirov 已經在處理了。
開始於 2019年3月5日。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 5.2.0
- Cross-platform modules: 5.1.2
- Android Runtime: 5.1.0
- iOS Runtime: 5.1.0
Describe the bug
Every time I rerun 'tns run' the previous CPU usage is not freed, but instead compounds. I often terminate the process by Ctrl+C, and each time I do this the free CPU goes down by ~10% and with 6-7 runs my Macbook is completely useless and I have to restart to get my CPU back. I cannot terminate processes to free it. Here is a sped up video showing my problem. https://www.youtube.com/watch?v=L_27UGBeOgA I downloaded an example template to show this happens with every project. I run the project 7 times in the video and each time I do it you can see my CPU slowly get maxed out. This only started happening after I upgraded to 5.2.0 from 5.1.0. This has completely brought my development to a standstill.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
評估
這個 Issue 還沒有評估資料。