Git Product home page Git Product logo

Comments (8)

sanpii avatar sanpii commented on July 30, 2024

In foundation/Session/Connection.php, after pg_close set Connection::handler to null probably fixed this warning.

I can make the PR if you are agree.

from pomm-bundle.

chanmix51 avatar chanmix51 commented on July 30, 2024

Ah ah, that's what I did in the close_session branch, but it still does not shutdown the session properly and when session::__destruct is called, connection is re-opened to deallocate prepared statements which does not exist in the new session.

from pomm-bundle.

chanmix51 avatar chanmix51 commented on July 30, 2024

I have set up a close_connection branch on Foundation with a new API to close sessions from a Pomm instance. Would you mind having a look at it ?

from pomm-bundle.

mvrhov avatar mvrhov commented on July 30, 2024

IMO, the session should use new connection, not the one used by pomm. The problem is that if there is an transaction error, all further statements will be ignored. and thus session save will also fail.

from pomm-bundle.

chanmix51 avatar chanmix51 commented on July 30, 2024

You mean merging the pomm_shutdown branch with the new Connection system 2 months ago did not fix the problem ?

from pomm-bundle.

sanpii avatar sanpii commented on July 30, 2024

@chanmix51 I don’t know. This is your issue, is it fix?

I can test, but I need the unit test to reproduce the bug.

from pomm-bundle.

mvrhov avatar mvrhov commented on July 30, 2024

Oh. 😊 I was looking for something different and found this one. When talking about session in this thread I didn't realize, that the the session refers to the pomm session and not the application session. I deeply apologize.

from pomm-bundle.

chanmix51 avatar chanmix51 commented on July 30, 2024

ouf :) don't mind, that's ok. @sanpii can we close this one ?

from pomm-bundle.

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.