"Fixed" crash when closing certain windows.
Only seemed to happen on mac and linux installations with older versions of glibc.
This commit is contained in:
parent
d8472a5b13
commit
c4808063b1
5 changed files with 16 additions and 11 deletions
|
@ -1,6 +1,9 @@
|
|||
# Changelog
|
||||
(This document uses YYYY-MM-DD as per ISO 8601)
|
||||
|
||||
## [v2.0.2] - 2021-4-2
|
||||
- "Fixed" crash when closing certain windows on certain platforms.
|
||||
|
||||
## [v2.0.1] - 2021-4-1
|
||||
- Fixed encoding-related crash
|
||||
|
||||
|
|
9
TODO.md
9
TODO.md
|
@ -1,12 +1,7 @@
|
|||
# TODO LIST : )
|
||||
~~Crossed out~~ entries are completed :3c
|
||||
## ADD
|
||||
- A proper prompt for choosing a server.
|
||||
|
||||
## FIX
|
||||
- ~~Pesterchum gets stuck on the system tray even after shutdown on windows.~~
|
||||
- Audio mixer slider in options doesn't always work. (Not working on linux?)
|
||||
- ~~QUIT not send to server on shutdown.~~
|
||||
- ~~TLS randomly causing socket to break.~~
|
||||
- Make setup.py work with 32-bit python.
|
||||
- Make setup.py work with py2app (might not be required if pyinstaller works better!!).
|
||||
- Audio mixer slider in options doesn't always work.
|
||||
- Any remaining unicode-related crashes.
|
9
convo.py
9
convo.py
|
@ -243,7 +243,14 @@ class PesterTabWindow(QtWidgets.QFrame):
|
|||
def tabClose(self, i):
|
||||
handle = str(self.tabs.tabText(i))
|
||||
self.mainwindow.waitingMessages.messageAnswered(handle)
|
||||
convo = self.convos[handle]
|
||||
#print(self.convos.keys())
|
||||
# I, legit don' t know why this is an issue, but, uh, yeah-
|
||||
try:
|
||||
convo = self.convos[handle]
|
||||
except:
|
||||
#handle = handle.replace("&","")
|
||||
handle = ''.join(handle.split('&', 1))
|
||||
convo = self.convos[handle]
|
||||
del self.convos[handle]
|
||||
del self.tabIndices[handle]
|
||||
self.tabs.removeTab(i)
|
||||
|
|
|
@ -3022,7 +3022,7 @@ class MainProgram(QtCore.QObject):
|
|||
# Back to our scheduled program.
|
||||
|
||||
self.app = QtWidgets.QApplication(sys.argv)
|
||||
self.app.setApplicationName("Pesterchum " + _pcVersion)
|
||||
self.app.setApplicationName("Pesterchum")
|
||||
self.app.setQuitOnLastWindowClosed(False)
|
||||
|
||||
options = self.oppts(sys.argv[1:])
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
_pcVersion = "Alt. v2.0.1"
|
||||
buildVersion = "v2.0.1"
|
||||
_pcVersion = "Alt. v2.0.2"
|
||||
buildVersion = "v2.0.2"
|
||||
|
|
Loading…
Reference in a new issue