Lagrange [release]

Cleanup

=> 11f0b4208721d4b59b5cbef87350955f5a05e50d

diff --git a/src/ui/window.c b/src/ui/window.c
index 54422ef2..d66015a8 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1652,7 +1652,6 @@ int snap_MainWindow(const iMainWindow *d) {
 
 iWindow *newPopup_Window(iInt2 screenPos, iWidget *rootWidget) {
     start_PerfTimer(newPopup_Window);
-    iPerfTimer pt; init_PerfTimer(&pt);
     const iBool oldSw = forceSoftwareRender_App();
     /* On macOS, SDL seems to want to not use HiDPI with software rendering. */
 #if !defined (iPlatformApple)
@@ -1678,6 +1677,8 @@ iWindow *newPopup_Window(iInt2 screenPos, iWidget *rootWidget) {
     rootWidget->rect.pos = zero_I2();
     setRoot_Widget(rootWidget, root);
     setForceSoftwareRender_App(oldSw);
+#if !defined (NDEBUG)
     stop_PerfTimer(newPopup_Window);
+#endif
     return win;
 }
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/release/cdiff/11f0b4208721d4b59b5cbef87350955f5a05e50d
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
200.270464 milliseconds
Gemini-to-HTML Time
0.244982 milliseconds

This content has been proxied by September (ba2dc).