Overview
Comment: | runtime: Small fix for unregister_class()
Only restore superclass to the name of the superclass if the class has |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8651ed04a04994491d4f75049bc687c1 |
User & Date: | js on 2018-04-08 23:39:23 |
Other Links: | manifest | tags |
Context
2018-04-14
| ||
13:18 | configure: Check for _Unwind_SjLj_RaiseException check-in: aff869a6f3 user: js tags: trunk | |
2018-04-08
| ||
23:39 | runtime: Small fix for unregister_class() check-in: 8651ed04a0 user: js tags: trunk | |
22:56 | pbkdf2: Make use of the new OFSecureData check-in: a60d291359 user: js tags: trunk | |
Changes
Modified src/runtime/class.m from [2ddf79d34d] to [16946c32d6].
︙ | ︙ | |||
856 857 858 859 860 861 862 | } if (rcls->dtable != NULL && rcls->dtable != empty_dtable) objc_dtable_free(rcls->dtable); rcls->dtable = NULL; | | | 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 | } if (rcls->dtable != NULL && rcls->dtable != empty_dtable) objc_dtable_free(rcls->dtable); rcls->dtable = NULL; if ((rcls->info & OBJC_CLASS_INFO_SETUP) && rcls->superclass != Nil) cls->superclass = rcls->superclass->name; rcls->info &= ~OBJC_CLASS_INFO_SETUP; } void objc_unregister_class(Class cls) |
︙ | ︙ |