{"id":2352,"date":"2022-06-28T21:59:29","date_gmt":"2022-06-28T13:59:29","guid":{"rendered":"https:\/\/lonelinerd.com\/?p=2352"},"modified":"2022-06-28T23:17:20","modified_gmt":"2022-06-28T15:17:20","slug":"csharp_destructor_call_timing","status":"publish","type":"post","link":"https:\/\/lonelinerd.com\/index.php\/2022\/06\/28\/csharp_destructor_call_timing\/","title":{"rendered":"[C#] \u6dfa\u8ac7\u5c0d\u8c61\u6790\u69cb\u5668\u7684\u8abf\u7528\u6642\u6a5f\u8207\u4f5c\u7528\u57df\u7684\u554f\u984c"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2352\" class=\"elementor elementor-2352\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-285ecba elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"285ecba\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2710604\" data-id=\"2710604\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3b209b4 elementor-widget elementor-widget-text-editor\" data-id=\"3b209b4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u00a0 \u00a0 \u00a0 \u00a0 \u4eca\u5929\u548c\u7fa4\u53cb\u5076\u7136\u804a\u5230\u4e86\u4e00\u500b\u95dc\u65bc\u975c\u614b\u5b57\u6bb5\u5c0e\u81f4\u7684\u5167\u5b58\u6cc4\u9732\uff08\u7fa4\u53cb\u300c\u6d77\u661f\u300d\u7684\u6587\u7ae0\uff1a<a href=\"https:\/\/starfishpeter.cn\/archives\/8497\" target=\"_blank\" rel=\"noopener\">https:\/\/starfishpeter.cn\/archives\/8497<\/a>\uff09\u3002\u804a\u5230\u9019\u500b\u5167\u5b58\u4e0a\u7684\u554f\u984c\uff0c\u5c31\u5f88\u5bb9\u6613\u5c0e\u5411\u5230\u5c0dCLR\u7684GC\u6a5f\u5236\u7684\u8a0e\u8ad6\u3002<\/p><p>\u00a0 \u00a0 \u00a0 \u00a0 \u800c\u6211\u5011\u90fd\u77e5\u9053\uff0c<span style=\"color: #ff0000;\">CLR\u5728\u56de\u6536\u5c0d\u8c61\u524d\uff0c\u5982\u679c\u5c0d\u8c61\u901a\u904e\u6790\u69cb\u51fd\u6578\uff08~className()\uff09\u4f86\u91cd\u5beb\u4e86Finalize\u65b9\u6cd5\uff0c\u7b2c\u4e00\u6b21GC\u6642\u5c31\u6703\u5148\u5c07\u5b83\u5f9e\u300c\u7d42\u7d50\u5217\u8868\u300d\u4e2d\u79fb\u9664\uff0c\u6dfb\u52a0\u5230freachable\u968a\u5217\u4e2d\u4e26\u8abf\u7528\u5b83\u5011\u7684Finalize\u65b9\u6cd5\u3002<\/span>\u9019\u90e8\u5206\u7684\u5167\u5bb9\u6211\u4e5f\u505a\u4e86\u76f8\u61c9\u7684\u7b46\u8a18\uff08<a href=\"https:\/\/lonelinerd.com\/index.php\/2022\/04\/10\/clr-via-csharp-21\/\">CLR\u300c\u6258\u7ba1\u5806\u548c\u5783\u573e\u56de\u6536\u300d- \u7d42\u7d50\u7684\u5167\u90e8\u5de5\u4f5c\u539f\u7406<\/a>\uff09\u3002<\/p><p>\u00a0 \u00a0 \u00a0 \u00a0\u7136\u800c\u4eca\u5929\u5728\u7fa4\u53cb\u505a\u6790\u69cb\u51fd\u6578\u7684\u6e2c\u8a66\u6642\uff08\u770b\u5167\u5b58\u6709\u6c92\u6709\u88ab\u56de\u6536\uff09\u6642\uff0c\u537b\u767c\u73fe\u7121\u8ad6\u5982\u4f55\uff0c\u90fd\u6c92\u6709\u8fa6\u6cd5\u56de\u6536\u8cc7\u6e90\u3002\u7121\u8ad6\u624b\u52d5\u8abf\u7528\u591a\u5c11\u6b21GC.Collect\uff0c\u751a\u81f3\u9019\u500b\u5c0d\u8c61\u6a21\u578b\u4e2d\u6c92\u6709\u4e00\u500b\u975c\u614b\u6210\u54e1\uff0c\u9019\u500b\u5c0d\u8c61\u4e5f\u6c92\u6709\u88ab\u56de\u6536\uff08\u7576\u7136\uff0c\u9019\u500b\u5c0d\u8c61\u5df2\u7d93\u662f\u7f6e\u70banull\u7684\u4e86\uff09\uff0c\u4e0b\u5716\u70ba\u7fa4\u53cb\u7684\u6848\u4f8b\uff1a<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c4b0e53 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c4b0e53\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b473ee5\" data-id=\"b473ee5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d3daa1b elementor-widget elementor-widget-image\" data-id=\"d3daa1b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"377\" src=\"https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase2.png\" class=\"attachment-large size-large wp-image-2365\" alt=\"\" srcset=\"https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase2.png 681w, https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase2-300x166.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7c63145 elementor-widget elementor-widget-image\" data-id=\"7c63145\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"419\" src=\"https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase-1024x419.png\" class=\"attachment-large size-large wp-image-2364\" alt=\"\" srcset=\"https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase-1024x419.png 1024w, https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase-300x123.png 300w, https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase-768x314.png 768w, https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase.png 1258w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f9be2fe elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f9be2fe\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6230fef\" data-id=\"6230fef\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e7bbb2e elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"e7bbb2e\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ed637df elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ed637df\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2566f65\" data-id=\"2566f65\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a3a1419 elementor-widget elementor-widget-text-editor\" data-id=\"a3a1419\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u00a0 \u00a0 \u00a0 \u00a0 \u6700\u5f8c\u7d93\u904e\u4e86\u591a\u6b21\u5411Google\u5927\u795e\u7684\u8acb\u6559\uff0c\u7d42\u65bc\u627e\u5230\u4e86\u6bd4\u8f03\u5177\u9ad4\u7684\u5169\u500b\u689d\u76ee\uff1a<\/p><ol><li style=\"list-style-type: none;\"><ol><li><a href=\"https:\/\/docs.microsoft.com\/zh-tw\/dotnet\/api\/system.object.finalize?view=net-6.0\" target=\"_blank\" rel=\"noopener\">Microsoft\u7684C#\u5b98\u65b9\u6587\u6a94\u2014\u2014Object.Finalize\u65b9\u6cd5<\/a>\uff1a\u9019\u500b\u6587\u6a94\u88e1\u63d0\u5230\u4e86Finalize\u65b9\u6cd5\u7684\u9650\u5236\u4ee5\u53ca\u53ef\u80fd\u4e0d\u6703\u57f7\u884c\u7684\u539f\u56e0<\/li><li>MSDN\u4e0amanuelalonge\u7684\u4e00\u500b\u8a0e\u8ad6\u689d\u76ee\u2014\u2014<a href=\"https:\/\/social.msdn.microsoft.com\/Forums\/en-US\/322473e6-61f3-48c0-9a28-5db3a4d0e593\/why-is-the-destructor-not-making-his-job?forum=csharpgeneral\" target=\"_blank\" rel=\"noopener\">\u300cWhy is the destructor not making his job?\u300d<\/a><\/li><\/ol><\/li><\/ol><p>\u00a0 \u00a0 \u00a0 \u00a0 \u9019\u5169\u500b\u689d\u76ee\uff0c\u5c24\u5176\u662f\u7b2c\u4e8c\u500b\uff0c\u63d0\u5230\u4e86\u4e00\u500b\u5f88\u91cd\u8981\u7684\u9ede\uff1a<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fb88c56 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fb88c56\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-40b0da9\" data-id=\"40b0da9\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9121bb1 elementor-widget elementor-widget-text-editor\" data-id=\"9121bb1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<h5><span style=\"color: #ff0000;\"><em>&#8220;The destructor will not be called until p1 and p2 go out of scope. Because they are declared in the Main method, this will not happen until the program has ended, so you will not have a chance to see &#8220;Destructor called&#8221;.&#8221;<\/em><\/span><\/h5>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8791726 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8791726\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a21aa80\" data-id=\"a21aa80\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1c7925d elementor-widget elementor-widget-text-editor\" data-id=\"1c7925d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u00a0 \u00a0 \u00a0 \u00a0 \u7c21\u55ae\u4f86\u8aaa\uff0c\u5c31\u662f<span style=\"color: #ff0000;\">\u4f5c\u7528\u57df<\/span>\u7684\u554f\u984c\u3002<span style=\"color: #ff0000;\">\u5982\u679c\u5c0d\u8c61\u7684\u4f5c\u7528\u57df\u662f\u5728\u50cfMain\u51fd\u6578\u9019\u6a23\u8207\u7a0b\u5e8f\u904b\u884c\u540c\u751f\u5171\u6b7b\u7684\u5340\u57df\u4e2d\uff0c\u9019\u500b\u5c0d\u8c61\u7684\u5167\u5b58\uff08\u90a3\u6015\u8b8a\u91cf\u5df2\u7d93\u7f6e\u7a7a\u4e86\uff09\u6703\u5728\u7a0b\u5e8f\u7d50\u675f\u904b\u884c\u5f8c\u624d\u88ab\u56de\u6536\uff0c\u800c\u6790\u69cb\u5668\u4e5f\u6703\u5728\u7a0b\u5e8f\u7d50\u675f\u7684\u6642\u5019\u624d\u88ab\u8abf\u7528\u3002<\/span><\/p><p>\u00a0 \u00a0 \u00a0 \u00a0 \u63db\u800c\u8a00\u4e4b\uff0c<span style=\"color: #ff0000;\">\u5982\u679c\u5c0d\u8c61\u7684\u4f5c\u7528\u57df\u662f\u5728\u55ae\u7368\u7684\u4e00\u500b\u51fd\u6578<\/span>\uff08\u5982\uff1astatic void DoStuff()\uff09\u4e2d\uff0c\u518d\u5728Main\u88e1\u8abf\u7528\u9019\u500b\u51fd\u6578DoStuff()\uff0c\u7136\u5f8c\u8abf\u7528GC.Collect()\uff0c\u90a3\u4e00\u5207\u5c07\u80fd\u6b63\u5e38\u904b\u884c\u3002\u56e0\u70ba\u5c0d\u8c61\u7684\u4f5c\u7528\u57df\u662f\u5728DoStuff\u51fd\u6578\u5167\uff0cDoStuff<span style=\"color: #ff0000;\">\u51fd\u6578\u57f7\u884c\u5b8c\u7562\u5f8c\uff0c\u51fd\u6578\u88e1\u8072\u660e\u7684\u5c0d\u8c61\u5167\u5b58\u4e5f\u6703\u96a8\u4e4b\u88ab\u56de\u6536\uff0c\u6790\u69cb\u51fd\u6578\u4e5f\u80fd\u6b63\u5e38\u88ab\u8abf\u7528<\/span>\u3002\u5982\u4ee5\u4e0b\u6e2c\u8a66\u7528\u4f8b\uff1a<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8228b50 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8228b50\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1022325\" data-id=\"1022325\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c0f4095 elementor-widget elementor-widget-image\" data-id=\"c0f4095\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"760\" height=\"691\" src=\"https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase3.png\" class=\"attachment-large size-large wp-image-2366\" alt=\"\" srcset=\"https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase3.png 760w, https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/DestructCase3-300x273.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u5728CLR\u8a0e\u8ad6GC\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u77e5\u9053\u5c0d\u8c61\u88ab\u56de\u6536\u524d\u6703\u8abf\u7528\u5176Finalize\u65b9\u6cd5\u3002\u800c\u6211\u5011\u4e5f\u53ef\u4ee5\u4f7f\u7528\u6790\u69cb\u51fd\u5f0f\u4f86\u9054\u5230\u91cd\u5bebFinalize\u65b9\u6cd5\u7684\u6548\u679c\u3002<br \/>\n\u4f46\u4e8b\u5be6\u662f\u5426\u771f\u7684\u9019\u9ebc\u7406\u60f3\u5462\uff1fFinalize\u65b9\u6cd5\u662f\u5426\u4e5f\u80fd\u9806\u5229\u88ab\u8abf\u7528\u5462\uff1f\u4f3c\u4e4e\u4e0d\u7136\u3002<\/p>\n","protected":false},"author":1,"featured_media":2355,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,17],"tags":[],"class_list":["post-2352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-notes","category-devnotes"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/lonelinerd.com\/wp-content\/uploads\/2022\/06\/FeatureCover_Destructor.png","_links":{"self":[{"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/posts\/2352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/comments?post=2352"}],"version-history":[{"count":13,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/posts\/2352\/revisions"}],"predecessor-version":[{"id":2371,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/posts\/2352\/revisions\/2371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/media\/2355"}],"wp:attachment":[{"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/media?parent=2352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/categories?post=2352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lonelinerd.com\/index.php\/wp-json\/wp\/v2\/tags?post=2352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}