mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-12-06 03:07:18 +00:00
Enhance socket management and improve android support
- Added proper socket closure and nullification in OnDemandFetcher to prevent resource leaks. - Introduced touch target areas in RSApplet to streamline touch interactions. - Made fullGameScreen public in RSApplet for external access. - Implemented a master screen buffer and a locking mechanism in RSImageProducer for better synchronization. - Reduced initial sleep duration in Signlink and added a close method for better resource management. - Increased texture array sizes in Texture for improved rendering capabilities. - Modified WorldController to optimize rendering logic based on platform (Android) and enhance performance.
This commit is contained in:
1 parent
9570a35bae
commit
87fece4854
9 files changed
+622
-244
No files matched your search
@@ -210,6 +210,14 @@ public final class OnDemandFetcher extends OnDemandFetcherParent implements Runn
|
||||
|
||||
public void disable() {
|
||||
running = false;
|
||||
try {
|
||||
if (socket != null) {
|
||||
socket.close();
|
||||
}
|
||||
} catch (Exception ignored) {}
|
||||
socket = null;
|
||||
inputStream = null;
|
||||
outputStream = null;
|
||||
}
|
||||
|
||||
public void method554(boolean flag) {
|
||||
|
||||
Reference in new issue
Block a user