mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 18:50:33 -04:00
Agar is a cross-platform GUI toolkit. Agar provides a base framework and a collection of GUI widgets from which GUI applications can be built. Agar applications function seamlessly under X11 (with OpenGL), Windows, MacOS X and SDL 1.2. Agar can also attach an existing OpenGL or SDL context and operate as window manager for the application. Agar is compact, efficient, and fully thread-safe. Agar's functionality can be extended using simple C/C++ class registration interfaces. Separate libraries which also extend Agar's capabilities include FreeSG (http://FreeSG.org) and Edacious (http://edacious.org). WWW: http://libagar.org/ PR: 208383 Submitted by: Julien Nadeau <vedge@hypertriton.com> Reported by: amdmi3, yuri
13 lines
382 B
C
13 lines
382 B
C
Index: core/net.c
|
|
===================================================================
|
|
--- core/net.c.orig 2015-08-24 07:59:45 UTC
|
|
+++ core/net.c
|
|
@@ -496,7 +496,7 @@ AG_InitNetworkSubsystem(const AG_NetOps *ops)
|
|
void
|
|
AG_DestroyNetworkSubsystem(void)
|
|
{
|
|
- if (agNetOps != NULL) {
|
|
+ if (agNetOps != NULL && agNetOps->destroy != NULL) {
|
|
agNetOps->destroy();
|
|
}
|
|
agNetOps = NULL;
|