Git Product home page Git Product logo

Comments (3)

SamJakob avatar SamJakob commented on September 17, 2024

I'll look into the error now.

Regarding your performance question:
That should be fine as if you don't use the old reference to the inventory after it's closed (i.e. if it's not saved anywhere in a list/map or something), it should be automatically removed from memory by Java's Garbage Collection.

I don't necessarily think it's worth keeping an instance in a map for every player unless it's one inventory per player and they're going to be accessing the inventory a lot because that will prevent the inventories from being collected by GC so you'd be forcing them to stay in memory.

from spigui.

SamJakob avatar SamJakob commented on September 17, 2024

I can't seem to reproduce the issue could you share the following:

  • how many pages your GUI has
  • your server version (e.g. Bukkit/Spigot version, Minecraft version)
  • if possible, some code that produces the error

from spigui.

SamJakob avatar SamJakob commented on September 17, 2024

Closing as this should have been partially resolved by a previous and completely resolved by the latest commit (at time of writing).

from spigui.

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.