GithubHelp home page GithubHelp logo

Crash on app resume about tiws HOT 6 CLOSED

allenhartwig avatar allenhartwig commented on June 16, 2024
Crash on app resume

from tiws.

Comments (6)

allenhartwig avatar allenhartwig commented on June 16, 2024

I should add that this doesn't happen every time the app is resumed, nor have I been able to setup a reliable/consistent recreation of the crash, however, I have noticed it a handful of times on the resume event.

from tiws.

allenhartwig avatar allenhartwig commented on June 16, 2024

Could potentially be related to this issue: facebookincubator/SocketRocket#62

from tiws.

iamyellow avatar iamyellow commented on June 16, 2024

Are you correctly closing the socket / opening it when pause / resume?
I'm very sorry, but recently I've decided to not develop my apps w/ Titanium and probably I won't update none of my modules...

from tiws.

allenhartwig avatar allenhartwig commented on June 16, 2024

I think I fixed it. I had a setInterval running that was checking if the socket was connected, and if not, reconnecting it. However, I was referring to socket.socket.connected and I think the socket object was sometimes garbage collected in the background and had to be completely recreated.

Out of curiosity, what did you switch to for your app dev environment?

from tiws.

iamyellow avatar iamyellow commented on June 16, 2024

glad to read it's solved somehow.
after years with titanium, I don't like where AppC is focusing... plus the lack of important core updates, parity android <> ios, serious bugs, etc. honestly, i'm devolping faster in objc+java then titanium... since I got absolute control, performance and not those things I mentioned.

from tiws.

cendrizzi avatar cendrizzi commented on June 16, 2024

This is disappointing to hear, but whatever works best I guess. I was a big fan of this particular module. Hope someone else can pick it up.

from tiws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.