Comments (5)
Only happens on linux and on windows with -d:release
when default gc is used.
No issue anymore when compiling with threads:off
, -d:useWebviewSingleThreaded
or when using --gc:orc --deepCopy:on
.
Edit:
I'm currently not working on this anymore as this seems to be hard to fix (for me).
This is most likely connected to the (old) Nim garbage collector and some unsafe calls to a global "var" from thread.
from nimview.
Resolved it by refactoring globals and storage.
Will be resolved in 0.4.1
from nimview.
Only happens when threads are enabled and default gc is used. Workaround: use --gc:orc
from nimview.
Found some issue when using single-thread and httpserver mode. Fixed for current main branch.
from nimview.
This is probably not fixable in any easy way.
I added a warning in "callJs" if threads are active and orc/arc is not the current gc/mm.
Closing this as there probably won't be any fix in future.
from nimview.
Related Issues (20)
- Backend not working in Webview HOT 22
- full screen mode in nim view HOT 4
- publish apk to playstore. HOT 8
- Adding event system to send async information to client
- Setting Window Icon HOT 12
- callFrontendJs on Android HOT 2
- Building in release mode does not seem to work HOT 4
- Create a bigger usefull application HOT 1
- Create some good tutorial HOT 1
- "callFrontendJs" in Webview mode doesn't update DOM HOT 1
- How to create application icons for the taskbar and main window? HOT 2
- Compiling with "just_core" flag - Error redefinition of "compileWithWebview" const HOT 2
- Add React Typescript example HOT 10
- Build error on react example HOT 3
- Switch rendering engine HOT 1
- [SupportRequest] Angular usage impossible as app-component does not get loaded, but only in webview (?) HOT 3
- Unicode support in release mode HOT 2
- How do you compile, debug-run & deploy on android? HOT 4
- Feature request: run "nimview.start()" with the first parameter as a string of html, rather than a file path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimview.